Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Unified Diff: chrome/browser/extensions/api/guest_view/guest_view_internal_api.h

Issue 299753011: Move allocate instance id to chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: HasPermission function moved Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/guest_view/guest_view_internal_api.h
diff --git a/chrome/browser/extensions/api/guest_view/guest_view_internal_api.h b/chrome/browser/extensions/api/guest_view/guest_view_internal_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..f21f0c0151595d75f7eca847716793094ae22912
--- /dev/null
+++ b/chrome/browser/extensions/api/guest_view/guest_view_internal_api.h
@@ -0,0 +1,29 @@
+// 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_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_
+#define CHROME_BROWSER_EXTENSIONS_API_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_
+
+#include "extensions/browser/extension_function.h"
+
+namespace extensions {
+
+class GuestViewInternalAllocateInstanceIdFunction
+ : public AsyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("guestViewInternal.allocateInstanceId",
+ GUESTVIEWINTERNAL_ALLOCATEINSTANCEID);
+ GuestViewInternalAllocateInstanceIdFunction();
+
+ protected:
+ virtual ~GuestViewInternalAllocateInstanceIdFunction() {}
+ virtual bool RunAsync() OVERRIDE FINAL;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(GuestViewInternalAllocateInstanceIdFunction);
+};
+
+} // namespace extensions
+
+#endif // CHROME_BROWSER_EXTENSIONS_API_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_
« no previous file with comments | « chrome/browser/extensions/api/guest_view/OWNERS ('k') | chrome/browser/extensions/api/guest_view/guest_view_internal_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698