summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/test_extension_prefs.h
diff options
context:
space:
mode:
authormpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-18 19:24:57 +0000
committermpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-18 19:24:57 +0000
commit9288808841602769a316568cb6d14ed6b6d988dc (patch)
treed77d11fcbd565e5a47eb259692d7fa531a944866 /chrome/browser/extensions/test_extension_prefs.h
parent3bb720fd99938e6cbe30c83f7549e51c9065b38b (diff)
downloadchromium_src-9288808841602769a316568cb6d14ed6b6d988dc.zip
chromium_src-9288808841602769a316568cb6d14ed6b6d988dc.tar.gz
chromium_src-9288808841602769a316568cb6d14ed6b6d988dc.tar.bz2
Move the rest of the Extension data into either StaticData or RuntimeData
subclasses. The ultimate goal is to move StaticData back up to the top level, so that Extension itself will be a thread-safe immutable object. I plan on making Extension refcounted, and const everywhere that it doesn't need to be initialized. RuntimeData will be the only thing mutable, and then only on the UI thread. BUG=56550 TEST=extensions still work Review URL: http://codereview.chromium.org/3757001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62957 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/test_extension_prefs.h')
-rw-r--r--chrome/browser/extensions/test_extension_prefs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/extensions/test_extension_prefs.h b/chrome/browser/extensions/test_extension_prefs.h
index b071281..1523bee 100644
--- a/chrome/browser/extensions/test_extension_prefs.h
+++ b/chrome/browser/extensions/test_extension_prefs.h
@@ -10,9 +10,9 @@
#include "base/scoped_ptr.h"
#include "base/scoped_temp_dir.h"
+#include "chrome/common/extensions/extension.h"
class DictionaryValue;
-class Extension;
class ExtensionPrefs;
class PrefService;
@@ -37,7 +37,8 @@ class TestExtensionPrefs {
Extension* AddExtension(std::string name);
// Similar to AddExtension, but takes a dictionary with manifest values.
- Extension* AddExtensionWithManifest(const DictionaryValue& manifest);
+ Extension* AddExtensionWithManifest(const DictionaryValue& manifest,
+ Extension::Location location);
// Similar to AddExtension, this adds a new test Extension. This is useful for
// cases when you don't need the Extension object, but just the id it was