diff options
Diffstat (limited to 'chrome/browser/extensions/extension.h')
-rw-r--r-- | chrome/browser/extensions/extension.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/chrome/browser/extensions/extension.h b/chrome/browser/extensions/extension.h index f944142..d4964077 100644 --- a/chrome/browser/extensions/extension.h +++ b/chrome/browser/extensions/extension.h @@ -108,7 +108,6 @@ class Extension { Extension() : location_(INVALID) {} explicit Extension(const FilePath& path); - explicit Extension(const Extension& other); virtual ~Extension(); // Returns an absolute url to a resource inside of an extension. The @@ -166,10 +165,6 @@ class Extension { DictionaryValue* GetThemeTints() const { return theme_tints_.get(); } bool IsTheme() { return is_theme_; } - // It doesn't really make sense to 'uninstall' extensions loaded from - // --load-extension or external locations. - const bool is_uninstallable() const { return location_ == INTERNAL; } - private: // Helper method that loads a UserScript object from a // dictionary in the content_script list of the manifest. @@ -247,8 +242,7 @@ class Extension { // The sites this extension has permission to talk to (using XHR, etc). std::vector<URLPattern> permissions_; - // We implement copy, but not assign. - void operator=(const Extension&); + DISALLOW_COPY_AND_ASSIGN(Extension); }; #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_H_ |