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

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: adding OWNERS 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
« no previous file with comments | « components/cookie_config/OWNERS ('k') | components/cookie_config/cookie_store_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 51%
rename from chrome/browser/net/cookie_store_util.h
rename to components/cookie_config/cookie_store_util.h
index c05391b19bfe9a6954fbf8c0d36fc2631d18afba..893e6a07db7c85e79e7878bd02e5f03232c3295c 100644
--- a/chrome/browser/net/cookie_store_util.h
+++ b/components/cookie_config/cookie_store_util.h
@@ -2,26 +2,20 @@
// 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_
-
-#include "base/memory/ref_counted.h"
-#include "content/public/browser/browser_context.h"
-#include "content/public/browser/cookie_store_factory.h"
-
-class Profile;
+#ifndef COMPONENTS_COOKIE_CONFIG_COOKIE_STORE_UTIL_H_
+#define COMPONENTS_COOKIE_CONFIG_COOKIE_STORE_UTIL_H_
namespace net {
-class CookieMonsterDelegate;
+class CookieCryptoDelegate;
} // 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_
« no previous file with comments | « components/cookie_config/OWNERS ('k') | components/cookie_config/cookie_store_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698