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

Unified Diff: chrome/browser/extensions/extension_function.h

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 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/extension_function.h
diff --git a/chrome/browser/extensions/extension_function.h b/chrome/browser/extensions/extension_function.h
index d943a31be6fef6ed833f1c5847149592d523688d..caef2401b9af31bf02351ab9da7fe4c1de61c578 100644
--- a/chrome/browser/extensions/extension_function.h
+++ b/chrome/browser/extensions/extension_function.h
@@ -124,8 +124,10 @@ class ExtensionFunction
void set_profile_id(void* profile_id) { profile_id_ = profile_id; }
void* profile_id() const { return profile_id_; }
- void set_extension(const Extension* extension) { extension_ = extension; }
- const Extension* GetExtension() const { return extension_.get(); }
+ void set_extension(const extensions::Extension* extension) {
+ extension_ = extension;
+ }
+ const extensions::Extension* GetExtension() const { return extension_.get(); }
const std::string& extension_id() const { return extension_->id(); }
void set_request_id(int request_id) { request_id_ = request_id; }
@@ -181,7 +183,7 @@ class ExtensionFunction
void* profile_id_;
// The extension that called this function.
- scoped_refptr<const Extension> extension_;
+ scoped_refptr<const extensions::Extension> extension_;
// The name of this function.
std::string name_;
« no previous file with comments | « chrome/browser/extensions/extension_event_router.cc ('k') | chrome/browser/extensions/extension_function_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698