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

Side by Side Diff: chrome/browser/browsing_data_local_storage_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_local_storage_helper.h" 5 #include "chrome/browser/browsing_data_local_storage_helper.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/string_util.h" 9 #include "base/string_util.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/in_process_webkit/webkit_context.h" 12 #include "chrome/browser/in_process_webkit/webkit_context.h"
13 #include "chrome/browser/profile.h" 13 #include "chrome/browser/profiles/profile.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 #include "webkit/glue/webkit_glue.h" 17 #include "webkit/glue/webkit_glue.h"
18 18
19 BrowsingDataLocalStorageHelper::BrowsingDataLocalStorageHelper( 19 BrowsingDataLocalStorageHelper::BrowsingDataLocalStorageHelper(
20 Profile* profile) 20 Profile* profile)
21 : profile_(profile), 21 : profile_(profile),
22 completion_callback_(NULL), 22 completion_callback_(NULL),
23 is_fetching_(false) { 23 is_fetching_(false) {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 154
155 bool CannedBrowsingDataLocalStorageHelper::empty() const { 155 bool CannedBrowsingDataLocalStorageHelper::empty() const {
156 return local_storage_info_.empty(); 156 return local_storage_info_.empty();
157 } 157 }
158 158
159 void CannedBrowsingDataLocalStorageHelper::StartFetching( 159 void CannedBrowsingDataLocalStorageHelper::StartFetching(
160 Callback1<const std::vector<LocalStorageInfo>& >::Type* callback) { 160 Callback1<const std::vector<LocalStorageInfo>& >::Type* callback) {
161 callback->Run(local_storage_info_); 161 callback->Run(local_storage_info_);
162 delete callback; 162 delete callback;
163 } 163 }
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data_indexed_db_helper.cc ('k') | chrome/browser/browsing_data_remover.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698