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

Unified Diff: chrome/browser/media_galleries/media_galleries_test_util.cc

Issue 22794012: Rename extension_manifest_keys namespace to extensions::manifest_keys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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/media_galleries/media_galleries_test_util.cc
diff --git a/chrome/browser/media_galleries/media_galleries_test_util.cc b/chrome/browser/media_galleries/media_galleries_test_util.cc
index 0f01e1e76a18f53177c00b25c3215b3dfe008f79..c2a510db03edef7161159ed8c95a6b9cc57b2d44 100644
--- a/chrome/browser/media_galleries/media_galleries_test_util.cc
+++ b/chrome/browser/media_galleries/media_galleries_test_util.cc
@@ -15,7 +15,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/extensions/extension.h"
-#include "chrome/common/extensions/extension_manifest_constants.h"
+#include "extensions/common/manifest_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace chrome {
@@ -25,12 +25,12 @@ scoped_refptr<extensions::Extension> AddMediaGalleriesApp(
const std::vector<std::string>& media_galleries_permissions,
Profile* profile) {
scoped_ptr<DictionaryValue> manifest(new DictionaryValue);
- manifest->SetString(extension_manifest_keys::kName, name);
- manifest->SetString(extension_manifest_keys::kVersion, "0.1");
- manifest->SetInteger(extension_manifest_keys::kManifestVersion, 2);
+ manifest->SetString(extensions::manifest_keys::kName, name);
+ manifest->SetString(extensions::manifest_keys::kVersion, "0.1");
+ manifest->SetInteger(extensions::manifest_keys::kManifestVersion, 2);
ListValue* background_script_list = new ListValue;
background_script_list->Append(Value::CreateStringValue("background.js"));
- manifest->Set(extension_manifest_keys::kPlatformAppBackgroundScripts,
+ manifest->Set(extensions::manifest_keys::kPlatformAppBackgroundScripts,
background_script_list);
ListValue* permission_detail_list = new ListValue;
@@ -41,7 +41,7 @@ scoped_refptr<extensions::Extension> AddMediaGalleriesApp(
media_galleries_permission->Set("mediaGalleries", permission_detail_list);
ListValue* permission_list = new ListValue;
permission_list->Append(media_galleries_permission);
- manifest->Set(extension_manifest_keys::kPermissions, permission_list);
+ manifest->Set(extensions::manifest_keys::kPermissions, permission_list);
extensions::ExtensionPrefs* extension_prefs =
extensions::ExtensionPrefs::Get(profile);
« no previous file with comments | « chrome/browser/extensions/webstore_installer.cc ('k') | chrome/browser/profile_resetter/profile_resetter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698