Index: chrome/browser/extensions/api/guestview/guestview_api.h |
diff --git a/chrome/browser/extensions/api/guestview/guestview_api.h b/chrome/browser/extensions/api/guestview/guestview_api.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fa50cef90e2f400983d9144c3898c23d190397ae |
--- /dev/null |
+++ b/chrome/browser/extensions/api/guestview/guestview_api.h |
@@ -0,0 +1,26 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_EXTENSIONS_API_GUESTVIEW_GUESTVIEW_API_H_ |
+#define CHROME_BROWSER_EXTENSIONS_API_GUESTVIEW_GUESTVIEW_API_H_ |
+ |
+#include "extensions/browser/extension_function.h" |
+ |
+namespace extensions { |
+ |
+class GuestviewAllocateInstanceIdFunction : public AsyncExtensionFunction { |
+ public: |
+ DECLARE_EXTENSION_FUNCTION("guestview.allocateInstanceId", |
+ GUESTVIEW_ALLOCATEINSTANCEID); |
+ GuestviewAllocateInstanceIdFunction(); |
+ protected: |
+ virtual ~GuestviewAllocateInstanceIdFunction() {} |
+ virtual bool RunAsync() OVERRIDE FINAL; |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(GuestviewAllocateInstanceIdFunction); |
+}; |
+ |
+} // namespace extensions |
+ |
+#endif // CHROME_BROWSER_EXTENSIONS_API_GUESTVIEW_GUESTVIEW_API_H_ |