OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/net/cookie_store_util.h" | 5 #include "chrome/browser/net/cookie_store_util.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
11 #include "chrome/browser/browser_process.h" | 11 #include "chrome/browser/browser_process.h" |
12 #include "chrome/browser/chrome_notification_types.h" | 12 #include "chrome/browser/chrome_notification_types.h" |
13 #include "chrome/browser/net/chrome_cookie_notification_details.h" | 13 #include "chrome/browser/net/chrome_cookie_notification_details.h" |
14 #include "chrome/browser/net/evicted_domain_cookie_counter.h" | 14 #include "chrome/browser/net/evicted_domain_cookie_counter.h" |
15 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
16 #include "chrome/browser/profiles/profile_manager.h" | 16 #include "chrome/browser/profiles/profile_manager.h" |
17 #include "chrome/common/chrome_constants.h" | 17 #include "chrome/common/chrome_constants.h" |
18 #include "chrome/common/chrome_switches.h" | 18 #include "chrome/common/chrome_switches.h" |
19 #include "components/encryptor/os_crypt.h" | 19 #include "components/os_crypt/os_crypt.h" |
20 #include "content/public/browser/browser_thread.h" | 20 #include "content/public/browser/browser_thread.h" |
21 #include "content/public/browser/cookie_crypto_delegate.h" | 21 #include "content/public/browser/cookie_crypto_delegate.h" |
22 #include "content/public/browser/cookie_store_factory.h" | 22 #include "content/public/browser/cookie_store_factory.h" |
23 #include "content/public/browser/notification_service.h" | 23 #include "content/public/browser/notification_service.h" |
24 #include "content/public/common/content_constants.h" | 24 #include "content/public/common/content_constants.h" |
25 #include "extensions/common/constants.h" | 25 #include "extensions/common/constants.h" |
26 | 26 |
27 using content::BrowserThread; | 27 using content::BrowserThread; |
28 | 28 |
29 namespace { | 29 namespace { |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 content::CookieCryptoDelegate* GetCookieCryptoDelegate() { | 136 content::CookieCryptoDelegate* GetCookieCryptoDelegate() { |
137 return g_cookie_crypto_delegate.Pointer(); | 137 return g_cookie_crypto_delegate.Pointer(); |
138 } | 138 } |
139 #else // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) | 139 #else // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) |
140 content::CookieCryptoDelegate* GetCookieCryptoDelegate() { | 140 content::CookieCryptoDelegate* GetCookieCryptoDelegate() { |
141 return NULL; | 141 return NULL; |
142 } | 142 } |
143 #endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) | 143 #endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) |
144 | 144 |
145 } // namespace chrome_browser_net | 145 } // namespace chrome_browser_net |
OLD | NEW |