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

Side by Side Diff: chrome/browser/browsing_data_database_helper.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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) 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/browsing_data_database_helper.h" 5 #include "chrome/browser/browsing_data_database_helper.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/browser_thread.h" 11 #include "chrome/browser/browser_thread.h"
12 #include "chrome/browser/profile.h" 12 #include "chrome/browser/profiles/profile.h"
13 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 #include "third_party/WebKit/WebKit/chromium/public/WebCString.h" 14 #include "third_party/WebKit/WebKit/chromium/public/WebCString.h"
15 #include "third_party/WebKit/WebKit/chromium/public/WebSecurityOrigin.h" 15 #include "third_party/WebKit/WebKit/chromium/public/WebSecurityOrigin.h"
16 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" 16 #include "third_party/WebKit/WebKit/chromium/public/WebString.h"
17 17
18 BrowsingDataDatabaseHelper::BrowsingDataDatabaseHelper(Profile* profile) 18 BrowsingDataDatabaseHelper::BrowsingDataDatabaseHelper(Profile* profile)
19 : tracker_(profile->GetDatabaseTracker()), 19 : tracker_(profile->GetDatabaseTracker()),
20 completion_callback_(NULL), 20 completion_callback_(NULL),
21 is_fetching_(false) { 21 is_fetching_(false) {
22 } 22 }
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 bool CannedBrowsingDataDatabaseHelper::empty() const { 150 bool CannedBrowsingDataDatabaseHelper::empty() const {
151 return database_info_.empty(); 151 return database_info_.empty();
152 } 152 }
153 153
154 void CannedBrowsingDataDatabaseHelper::StartFetching( 154 void CannedBrowsingDataDatabaseHelper::StartFetching(
155 Callback1<const std::vector<DatabaseInfo>& >::Type* callback) { 155 Callback1<const std::vector<DatabaseInfo>& >::Type* callback) {
156 callback->Run(database_info_); 156 callback->Run(database_info_);
157 delete callback; 157 delete callback;
158 } 158 }
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data_appcache_helper.cc ('k') | chrome/browser/browsing_data_indexed_db_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698