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

Unified Diff: chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc

Issue 23744004: Move the rest of extension_manifest_constants to top-level extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 7 years, 3 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/api/managed_mode_private/managed_mode_handler.cc
diff --git a/chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc b/chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc
index 1935b294d64760144ecd529c94a5ce23cd518ace..7690eeb54c1ea3c5bf66d4a44d225a9fdab5905a 100644
--- a/chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc
+++ b/chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc
@@ -8,8 +8,8 @@
#include "base/memory/scoped_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
-#include "chrome/common/extensions/extension_manifest_constants.h"
#include "extensions/common/error_utils.h"
+#include "extensions/common/manifest_constants.h"
namespace extensions {
@@ -52,7 +52,7 @@ bool ManagedModeHandler::Parse(Extension* extension, string16* error) {
const base::DictionaryValue* content_pack_value = NULL;
if (!extension->manifest()->GetDictionary(keys::kContentPack,
&content_pack_value)) {
- *error = ASCIIToUTF16(extension_manifest_errors::kInvalidContentPack);
+ *error = ASCIIToUTF16(manifest_errors::kInvalidContentPack);
return false;
}
@@ -79,7 +79,7 @@ bool ManagedModeHandler::LoadSites(
base::FilePath::StringType site_list_string;
if (!content_pack_value->GetString(keys::kContentPackSites,
&site_list_string)) {
- *error = ASCIIToUTF16(extension_manifest_errors::kInvalidContentPackSites);
+ *error = ASCIIToUTF16(manifest_errors::kInvalidContentPackSites);
return false;
}

Powered by Google App Engine
This is Rietveld 408576698