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

Unified Diff: chrome/browser/extensions/api/guestview/guestview_api.h

Issue 299753011: Move allocate instance id to chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove debug logs Created 6 years, 7 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/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_

Powered by Google App Engine
This is Rietveld 408576698