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

Unified Diff: components/cookie_config/cookie_store_util.h

Issue 1405463006: Componentize CookieOSCryptoDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: components/cookie_config/cookie_store_util.h
diff --git a/chrome/browser/net/cookie_store_util.h b/components/cookie_config/cookie_store_util.h
similarity index 68%
rename from chrome/browser/net/cookie_store_util.h
rename to components/cookie_config/cookie_store_util.h
index c05391b19bfe9a6954fbf8c0d36fc2631d18afba..1a291c9c0ba56881119468a4296af39f044140a8 100644
--- a/chrome/browser/net/cookie_store_util.h
+++ b/components/cookie_config/cookie_store_util.h
@@ -2,11 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_
-#define CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_
+#ifndef COMPONENTS_COOKIE_CONFIG_COOKIE_STORE_UTIL_H_
+#define COMPONENTS_COOKIE_CONFIG_COOKIE_STORE_UTIL_H_
#include "base/memory/ref_counted.h"
-#include "content/public/browser/browser_context.h"
#include "content/public/browser/cookie_store_factory.h"
droger 2015/10/14 16:04:39 Delete both includes.
Abhishek 2015/10/15 08:46:04 Done.
class Profile;
droger 2015/10/14 16:04:39 Delete.
Abhishek 2015/10/15 08:46:04 Done.
@@ -15,13 +14,13 @@ namespace net {
class CookieMonsterDelegate;
} // namespace net
-namespace chrome_browser_net {
+namespace cookie_config {
// Factory method for returning a CookieCryptoDelegate if one is appropriate for
// this platform. The object returned is a LazyInstance. Ownership is not
// transferred.
net::CookieCryptoDelegate* GetCookieCryptoDelegate();
-} // namespace chrome_browser_net
+} // namespace cookie_config
-#endif // CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_
+#endif // COMPONENTS_COOKIE_CONFIG_COOKIE_STORE_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698