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

Unified Diff: chrome/browser/content_settings/local_shared_objects_container.cc

Issue 254763005: Move some content url constants to /url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initial patches. Created 6 years, 8 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/content_settings/local_shared_objects_container.cc
diff --git a/chrome/browser/content_settings/local_shared_objects_container.cc b/chrome/browser/content_settings/local_shared_objects_container.cc
index 4cc1fa1afb7b5dd975e8cee464c6e572b4b705ea..c8ccf22d1338892b5e018e2eab2327f02009466a 100644
--- a/chrome/browser/content_settings/local_shared_objects_container.cc
+++ b/chrome/browser/content_settings/local_shared_objects_container.cc
@@ -16,6 +16,7 @@
#include "content/public/browser/storage_partition.h"
#include "content/public/common/url_constants.h"
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
+#include "net/base/url_constants.h"
#include "net/cookies/canonical_cookie.h"
#include "url/gurl.h"
@@ -99,7 +100,7 @@ size_t LocalSharedObjectsContainer::GetObjectCountForDomain(
// The |domain_url| is only created in order to use the
// SameDomainOrHost method below. It does not matter which scheme is
// used as the scheme is ignored by the SameDomainOrHost method.
- GURL domain_url(std::string(content::kHttpScheme) +
+ GURL domain_url(std::string(net::kHttpScheme) +
content::kStandardSchemeSeparator + cookie_domain);
if (SameDomainOrHost(origin, domain_url))
++count;

Powered by Google App Engine
This is Rietveld 408576698