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

Unified Diff: chrome/browser/renderer_context_menu/context_menu_content_type_platform_app.h

Issue 1117893002: Moving extension code out of "components/" to avoid layering violations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nit. Created 5 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/renderer_context_menu/context_menu_content_type_platform_app.h
diff --git a/chrome/browser/renderer_context_menu/context_menu_content_type_platform_app.h b/chrome/browser/renderer_context_menu/context_menu_content_type_platform_app.h
index 44389aa9b740b87354582f841c2db8b2db142cb2..5f65b268a34d50face2554cd054e1a64cb3b8e10 100644
--- a/chrome/browser/renderer_context_menu/context_menu_content_type_platform_app.h
+++ b/chrome/browser/renderer_context_menu/context_menu_content_type_platform_app.h
@@ -7,6 +7,10 @@
#include "components/renderer_context_menu/context_menu_content_type.h"
+namespace extensions {
+class Extension;
+}
+
class ContextMenuContentTypePlatformApp : public ContextMenuContentType {
public:
~ContextMenuContentTypePlatformApp() override;
@@ -21,6 +25,8 @@ class ContextMenuContentTypePlatformApp : public ContextMenuContentType {
private:
friend class ContextMenuContentTypeFactory;
+ const extensions::Extension* GetExtension() const;
+
DISALLOW_COPY_AND_ASSIGN(ContextMenuContentTypePlatformApp);
};

Powered by Google App Engine
This is Rietveld 408576698