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

Side by Side Diff: content/public/browser/cookie_store_factory.h

Issue 1701063002: CookieStore: Remove reference counting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@threadsafe
Patch Set: Fix BrowsingDataRemover tests Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef CONTENT_PUBLIC_BROWSER_COOKIE_STORE_FACTORY_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_COOKIE_STORE_FACTORY_H_
6 #define CONTENT_PUBLIC_BROWSER_COOKIE_STORE_FACTORY_H_ 6 #define CONTENT_PUBLIC_BROWSER_COOKIE_STORE_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/scoped_ptr.h"
davidben 2016/03/02 21:41:15 I think you still need this include due to CookieS
mmenke 2016/03/02 21:46:29 Thanks for catching that! We need to make an auto
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 14
15 namespace base { 15 namespace base {
16 class SequencedTaskRunner; 16 class SequencedTaskRunner;
17 } 17 }
18 18
19 namespace net { 19 namespace net {
20 class CookieCryptoDelegate; 20 class CookieCryptoDelegate;
21 class CookieMonsterDelegate; 21 class CookieMonsterDelegate;
22 class CookieStore; 22 class CookieStore;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // |background_task_runner|. If nullptr, uses a SequencedTaskRunner from the 88 // |background_task_runner|. If nullptr, uses a SequencedTaskRunner from the
89 // BrowserThread blocking pool. 89 // BrowserThread blocking pool.
90 // 90 //
91 // Only used for persistent cookie stores. 91 // Only used for persistent cookie stores.
92 scoped_refptr<base::SequencedTaskRunner> background_task_runner; 92 scoped_refptr<base::SequencedTaskRunner> background_task_runner;
93 93
94 // If non-empty, overrides the default list of schemes that support cookies. 94 // If non-empty, overrides the default list of schemes that support cookies.
95 std::vector<std::string> cookieable_schemes; 95 std::vector<std::string> cookieable_schemes;
96 }; 96 };
97 97
98 CONTENT_EXPORT net::CookieStore* CreateCookieStore( 98 CONTENT_EXPORT scoped_ptr<net::CookieStore> CreateCookieStore(
99 const CookieStoreConfig& config); 99 const CookieStoreConfig& config);
100 100
101 } // namespace content 101 } // namespace content
102 102
103 #endif // CONTENT_PUBLIC_BROWSER_COOKIE_STORE_FACTORY_H_ 103 #endif // CONTENT_PUBLIC_BROWSER_COOKIE_STORE_FACTORY_H_
OLDNEW
« no previous file with comments | « content/browser/net/quota_policy_cookie_store.cc ('k') | headless/lib/browser/headless_url_request_context_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698