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

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

Issue 336283002: Remove GuestWebContentsCreated (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simplify_creation
Patch Set: Fixed lifetime 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
index f21f0c0151595d75f7eca847716793094ae22912..9f7a178c5ffffc8111cb598c5bbf13785a52703b 100644
--- a/chrome/browser/extensions/api/guest_view/guest_view_internal_api.h
+++ b/chrome/browser/extensions/api/guest_view/guest_view_internal_api.h
@@ -9,19 +9,18 @@
namespace extensions {
-class GuestViewInternalAllocateInstanceIdFunction
- : public AsyncExtensionFunction {
+class GuestViewInternalCreateGuestFunction : public AsyncExtensionFunction {
public:
- DECLARE_EXTENSION_FUNCTION("guestViewInternal.allocateInstanceId",
- GUESTVIEWINTERNAL_ALLOCATEINSTANCEID);
- GuestViewInternalAllocateInstanceIdFunction();
+ DECLARE_EXTENSION_FUNCTION("guestViewInternal.createGuest",
+ GUESTVIEWINTERNAL_CREATEGUEST);
+ GuestViewInternalCreateGuestFunction();
protected:
- virtual ~GuestViewInternalAllocateInstanceIdFunction() {}
+ virtual ~GuestViewInternalCreateGuestFunction() {}
virtual bool RunAsync() OVERRIDE FINAL;
private:
- DISALLOW_COPY_AND_ASSIGN(GuestViewInternalAllocateInstanceIdFunction);
+ DISALLOW_COPY_AND_ASSIGN(GuestViewInternalCreateGuestFunction);
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698