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

Unified Diff: chrome/common/extensions/api/omnibox/omnibox_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/omnibox/omnibox_handler.cc
diff --git a/chrome/common/extensions/api/omnibox/omnibox_handler.cc b/chrome/common/extensions/api/omnibox/omnibox_handler.cc
index 10bfd4f8f4ffbf4c9c1442579fb578c2c68d731a..3f24bfe3dd6861c281f445dcd4a7b151b82762b2 100644
--- a/chrome/common/extensions/api/omnibox/omnibox_handler.cc
+++ b/chrome/common/extensions/api/omnibox/omnibox_handler.cc
@@ -9,8 +9,8 @@
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "chrome/common/extensions/extension.h"
-#include "chrome/common/extensions/extension_manifest_constants.h"
#include "extensions/common/manifest.h"
+#include "extensions/common/manifest_constants.h"
namespace extensions {
@@ -41,7 +41,7 @@ bool OmniboxHandler::Parse(Extension* extension, string16* error) {
&dict) ||
!dict->GetString(kKeyword, &info->keyword) ||
info->keyword.empty()) {
- *error = ASCIIToUTF16(extension_manifest_errors::kInvalidOmniboxKeyword);
+ *error = ASCIIToUTF16(manifest_errors::kInvalidOmniboxKeyword);
return false;
}
extension->SetManifestData(manifest_keys::kOmnibox, info.release());

Powered by Google App Engine
This is Rietveld 408576698