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

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

Issue 3412016: FBTF: Move a bunch of code to the headers and remove includes. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Rebase + fixed windows issues locally Created 10 years, 3 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/sqlite_persistent_cookie_store.h" 5 #include "chrome/browser/net/sqlite_persistent_cookie_store.h"
6 6
7 #include <list> 7 #include <list>
8 8
9 #include "app/sql/statement.h" 9 #include "app/sql/statement.h"
10 #include "app/sql/transaction.h" 10 #include "app/sql/transaction.h"
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/histogram.h"
13 #include "base/logging.h" 14 #include "base/logging.h"
14 #include "base/ref_counted.h" 15 #include "base/ref_counted.h"
15 #include "base/scoped_ptr.h" 16 #include "base/scoped_ptr.h"
16 #include "base/string_util.h" 17 #include "base/string_util.h"
17 #include "base/thread.h" 18 #include "base/thread.h"
18 #include "chrome/browser/chrome_thread.h" 19 #include "chrome/browser/chrome_thread.h"
19 #include "chrome/browser/diagnostics/sqlite_diagnostics.h" 20 #include "chrome/browser/diagnostics/sqlite_diagnostics.h"
20 21
21 using base::Time; 22 using base::Time;
22 23
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 const net::CookieMonster::CanonicalCookie& cc) { 437 const net::CookieMonster::CanonicalCookie& cc) {
437 if (backend_.get()) 438 if (backend_.get())
438 backend_->DeleteCookie(cc); 439 backend_->DeleteCookie(cc);
439 } 440 }
440 441
441 // static 442 // static
442 void SQLitePersistentCookieStore::ClearLocalState( 443 void SQLitePersistentCookieStore::ClearLocalState(
443 const FilePath& path) { 444 const FilePath& path) {
444 file_util::Delete(path, false); 445 file_util::Delete(path, false);
445 } 446 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/notifications/desktop_notification_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698