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

Unified Diff: chrome/renderer/extensions/chrome_extension_helper.cc

Issue 273193004: Move some content url constants to /url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing files. Created 6 years, 7 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
« no previous file with comments | « chrome/renderer/content_settings_observer.cc ('k') | chrome/renderer/searchbox/searchbox_extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/chrome_extension_helper.cc
diff --git a/chrome/renderer/extensions/chrome_extension_helper.cc b/chrome/renderer/extensions/chrome_extension_helper.cc
index 05ffc18b731ec5bdbeae15fde5f0cfd9952102ca..df7c4b2575c473e1e7c2b6eae8256a98840ab665 100644
--- a/chrome/renderer/extensions/chrome_extension_helper.cc
+++ b/chrome/renderer/extensions/chrome_extension_helper.cc
@@ -7,11 +7,11 @@
#include "base/strings/string16.h"
#include "chrome/common/extensions/chrome_extension_messages.h"
#include "chrome/renderer/web_apps.h"
-#include "content/public/common/url_constants.h"
#include "content/public/renderer/render_view.h"
#include "ipc/ipc_message_macros.h"
#include "third_party/WebKit/public/web/WebView.h"
#include "url/gurl.h"
+#include "url/url_constants.h"
namespace extensions {
@@ -47,7 +47,7 @@ void ChromeExtensionHelper::OnGetApplicationInfo(int page_id) {
// to decode arbitrary data URLs in the browser process. See
// http://b/issue?id=1162972
for (size_t i = 0; i < app_info.icons.size(); ++i) {
- if (app_info.icons[i].url.SchemeIs(content::kDataScheme)) {
+ if (app_info.icons[i].url.SchemeIs(url::kDataScheme)) {
app_info.icons.erase(app_info.icons.begin() + i);
--i;
}
« no previous file with comments | « chrome/renderer/content_settings_observer.cc ('k') | chrome/renderer/searchbox/searchbox_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698