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

Side by Side Diff: content/browser/net/sqlite_persistent_cookie_store.cc

Issue 18868005: content: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/browser/net/sqlite_persistent_cookie_store.h" 5 #include "content/browser/net/sqlite_persistent_cookie_store.h"
6 6
7 #include <list> 7 #include <list>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 10 matching lines...) Expand all
21 #include "base/metrics/field_trial.h" 21 #include "base/metrics/field_trial.h"
22 #include "base/metrics/histogram.h" 22 #include "base/metrics/histogram.h"
23 #include "base/sequenced_task_runner.h" 23 #include "base/sequenced_task_runner.h"
24 #include "base/strings/string_util.h" 24 #include "base/strings/string_util.h"
25 #include "base/strings/stringprintf.h" 25 #include "base/strings/stringprintf.h"
26 #include "base/synchronization/lock.h" 26 #include "base/synchronization/lock.h"
27 #include "base/threading/sequenced_worker_pool.h" 27 #include "base/threading/sequenced_worker_pool.h"
28 #include "base/time/time.h" 28 #include "base/time/time.h"
29 #include "content/public/browser/browser_thread.h" 29 #include "content/public/browser/browser_thread.h"
30 #include "content/public/browser/cookie_store_factory.h" 30 #include "content/public/browser/cookie_store_factory.h"
31 #include "googleurl/src/gurl.h"
32 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" 31 #include "net/base/registry_controlled_domains/registry_controlled_domain.h"
33 #include "net/cookies/canonical_cookie.h" 32 #include "net/cookies/canonical_cookie.h"
34 #include "net/cookies/cookie_constants.h" 33 #include "net/cookies/cookie_constants.h"
35 #include "net/cookies/cookie_util.h" 34 #include "net/cookies/cookie_util.h"
36 #include "sql/error_delegate_util.h" 35 #include "sql/error_delegate_util.h"
37 #include "sql/meta_table.h" 36 #include "sql/meta_table.h"
38 #include "sql/statement.h" 37 #include "sql/statement.h"
39 #include "sql/transaction.h" 38 #include "sql/transaction.h"
40 #include "third_party/sqlite/sqlite3.h" 39 #include "third_party/sqlite/sqlite3.h"
40 #include "url/gurl.h"
41 #include "webkit/browser/quota/special_storage_policy.h" 41 #include "webkit/browser/quota/special_storage_policy.h"
42 42
43 using base::Time; 43 using base::Time;
44 44
45 namespace content { 45 namespace content {
46 46
47 // This class is designed to be shared between any client thread and the 47 // This class is designed to be shared between any client thread and the
48 // background task runner. It batches operations and commits them on a timer. 48 // background task runner. It batches operations and commits them on a timer.
49 // 49 //
50 // SQLitePersistentCookieStore::Load is called to load all cookies. It 50 // SQLitePersistentCookieStore::Load is called to load all cookies. It
(...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after
1199 1199
1200 const std::string cookie_priority_experiment_group = 1200 const std::string cookie_priority_experiment_group =
1201 base::FieldTrialList::FindFullName("CookieRetentionPriorityStudy"); 1201 base::FieldTrialList::FindFullName("CookieRetentionPriorityStudy");
1202 cookie_monster->SetPriorityAwareGarbageCollection( 1202 cookie_monster->SetPriorityAwareGarbageCollection(
1203 cookie_priority_experiment_group == "ExperimentOn"); 1203 cookie_priority_experiment_group == "ExperimentOn");
1204 1204
1205 return cookie_monster; 1205 return cookie_monster;
1206 } 1206 }
1207 1207
1208 } // namespace content 1208 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698