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

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

Issue 12093036: Move Extension Location and Type enums to Manifest, and move InstallWarning to its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « chrome/browser/extensions/tab_helper.h ('k') | chrome/browser/extensions/test_extension_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6949f15c1d124a5f585c5859314627e478585199..7111e09e96fad5a40bcd47e80e6a78ef02389666 100644
--- a/chrome/browser/extensions/test_extension_prefs.h
+++ b/chrome/browser/extensions/test_extension_prefs.h
@@ -8,8 +8,9 @@
#include <string>
#include "base/files/scoped_temp_dir.h"
+#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "chrome/common/extensions/extension.h"
+#include "chrome/common/extensions/manifest.h"
class ExtensionPrefValueMap;
class PrefServiceSyncable;
@@ -20,6 +21,7 @@ class SequencedTaskRunner;
}
namespace extensions {
+class Extension;
class ExtensionPrefs;
// This is a test class intended to make it easier to work with ExtensionPrefs
@@ -51,13 +53,13 @@ class TestExtensionPrefs {
// Similar to AddExtension, but takes a dictionary with manifest values.
scoped_refptr<Extension> AddExtensionWithManifest(
const base::DictionaryValue& manifest,
- Extension::Location location);
+ Manifest::Location location);
// Similar to AddExtension, but takes a dictionary with manifest values
// and extension flags.
scoped_refptr<Extension> AddExtensionWithManifestAndFlags(
const base::DictionaryValue& manifest,
- Extension::Location location,
+ Manifest::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/tab_helper.h ('k') | chrome/browser/extensions/test_extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698