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

Unified Diff: chrome/browser/extensions/test_extension_prefs.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/test_extension_prefs.h
diff --git a/chrome/browser/extensions/test_extension_prefs.h b/chrome/browser/extensions/test_extension_prefs.h
index 25862dd42669da0b238c11fd780f436aa4ac4521..dc35c42b0e06adcccebc075e707377b40743a5ae 100644
--- a/chrome/browser/extensions/test_extension_prefs.h
+++ b/chrome/browser/extensions/test_extension_prefs.h
@@ -38,20 +38,21 @@ class TestExtensionPrefs {
// Creates a new Extension with the given name in our temp dir, adds it to
// our ExtensionPrefs, and returns it.
- scoped_refptr<Extension> AddExtension(std::string name);
+ scoped_refptr<extensions::Extension> AddExtension(std::string name);
// As above, but the extension is an app.
- scoped_refptr<Extension> AddApp(std::string name);
+ scoped_refptr<extensions::Extension> AddApp(std::string name);
// Similar to AddExtension, but takes a dictionary with manifest values.
- scoped_refptr<Extension> AddExtensionWithManifest(
- const base::DictionaryValue& manifest, Extension::Location location);
+ scoped_refptr<extensions::Extension> AddExtensionWithManifest(
+ const base::DictionaryValue& manifest,
+ extensions::Extension::Location location);
// Similar to AddExtension, but takes a dictionary with manifest values
// and extension flags.
- scoped_refptr<Extension> AddExtensionWithManifestAndFlags(
+ scoped_refptr<extensions::Extension> AddExtensionWithManifestAndFlags(
const base::DictionaryValue& manifest,
- Extension::Location location,
+ extensions::Extension::Location location,
int extra_flags);
// Similar to AddExtension, this adds a new test Extension. This is useful for
« no previous file with comments | « chrome/browser/extensions/script_badge_controller.h ('k') | chrome/browser/extensions/test_extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698