1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_ 7 8 #include "extensions/browser/extension_function.h" 9 10 namespace extensions { 11 12 class GuestViewInternalAllocateInstanceIdFunction 13 : public AsyncExtensionFunction { 14 public: 15 DECLARE_EXTENSION_FUNCTION("guestViewInternal.allocateInstanceId", 16 GUESTVIEWINTERNAL_ALLOCATEINSTANCEID); 17 GuestViewInternalAllocateInstanceIdFunction(); 18 19 protected: ~GuestViewInternalAllocateInstanceIdFunction()20 virtual ~GuestViewInternalAllocateInstanceIdFunction() {} 21 virtual bool RunAsync() OVERRIDE FINAL; 22 23 private: 24 DISALLOW_COPY_AND_ASSIGN(GuestViewInternalAllocateInstanceIdFunction); 25 }; 26 27 } // namespace extensions 28 29 #endif // CHROME_BROWSER_EXTENSIONS_API_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_ 30