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

Side by Side Diff: chrome/browser/browsing_data_appcache_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
« no previous file with comments | « chrome/browser/browser_url_handler.cc ('k') | chrome/browser/browsing_data_database_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_appcache_helper.h" 5 #include "chrome/browser/browsing_data_appcache_helper.h"
6 6
7 #include "chrome/browser/browser_thread.h" 7 #include "chrome/browser/browser_thread.h"
8 #include "chrome/browser/net/chrome_url_request_context.h" 8 #include "chrome/browser/net/chrome_url_request_context.h"
9 #include "chrome/browser/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/common/url_constants.h" 10 #include "chrome/common/url_constants.h"
11 #include "webkit/appcache/appcache_database.h" 11 #include "webkit/appcache/appcache_database.h"
12 #include "webkit/appcache/appcache_storage.h" 12 #include "webkit/appcache/appcache_storage.h"
13 13
14 using appcache::AppCacheDatabase; 14 using appcache::AppCacheDatabase;
15 15
16 BrowsingDataAppCacheHelper::BrowsingDataAppCacheHelper(Profile* profile) 16 BrowsingDataAppCacheHelper::BrowsingDataAppCacheHelper(Profile* profile)
17 : request_context_getter_(profile->GetRequestContext()), 17 : request_context_getter_(profile->GetRequestContext()),
18 is_fetching_(false) { 18 is_fetching_(false) {
19 } 19 }
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 return info_collection_->infos_by_origin.empty(); 133 return info_collection_->infos_by_origin.empty();
134 } 134 }
135 135
136 void CannedBrowsingDataAppCacheHelper::StartFetching( 136 void CannedBrowsingDataAppCacheHelper::StartFetching(
137 Callback0::Type* completion_callback) { 137 Callback0::Type* completion_callback) {
138 completion_callback->Run(); 138 completion_callback->Run();
139 delete completion_callback; 139 delete completion_callback;
140 } 140 }
141 141
142 CannedBrowsingDataAppCacheHelper::~CannedBrowsingDataAppCacheHelper() {} 142 CannedBrowsingDataAppCacheHelper::~CannedBrowsingDataAppCacheHelper() {}
OLDNEW
« no previous file with comments | « chrome/browser/browser_url_handler.cc ('k') | chrome/browser/browsing_data_database_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698