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

Unified Diff: chrome/common/extensions/manifest_tests/extension_manifest_test.h

Issue 178253007: Parse manifest file with app.service_worker.script. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/common/extensions/manifest_tests/extension_manifest_test.h
diff --git a/chrome/common/extensions/manifest_tests/extension_manifest_test.h b/chrome/common/extensions/manifest_tests/extension_manifest_test.h
index d7169437cb4fb525a8747fef933662ee83ea04d7..936a45a08a02db8a825e1d66c6fa62877aaa096d 100644
--- a/chrome/common/extensions/manifest_tests/extension_manifest_test.h
+++ b/chrome/common/extensions/manifest_tests/extension_manifest_test.h
@@ -24,6 +24,7 @@ class ExtensionManifestTest : public testing::Test {
public:
explicit Manifest(const char* name);
Manifest(base::DictionaryValue* manifest, const char* name);
+ Manifest(scoped_ptr<base::DictionaryValue> manifest, const char* name);
Jeffrey Yasskin 2014/03/04 01:41:48 All of the uses of this constructor pass "" for th
scheib 2014/03/04 15:34:31 Done.
// C++98 requires the copy constructor for a type to be visible if you
// take a const-ref of a temporary for that type. Since Manifest
// contains a scoped_ptr, its implicit copy constructor is declared
@@ -42,7 +43,7 @@ class ExtensionManifestTest : public testing::Test {
base::DictionaryValue* GetManifest(char const* test_data_dir,
std::string* error) const;
- private:
+ protected:
Jeffrey Yasskin 2014/03/04 01:41:48 I think this can go back to "private".
scheib 2014/03/04 15:34:31 Done.
const std::string name_;
mutable base::DictionaryValue* manifest_;
mutable scoped_ptr<base::DictionaryValue> manifest_holder_;

Powered by Google App Engine
This is Rietveld 408576698