OLD | NEW |
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 "chrome/browser/browsing_data_local_storage_helper.h" | 5 #include "chrome/browser/browsing_data/browsing_data_local_storage_helper.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "chrome/browser/browsing_data_helper.h" | 9 #include "chrome/browser/browsing_data/browsing_data_helper.h" |
10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
11 #include "content/public/browser/browser_thread.h" | 11 #include "content/public/browser/browser_thread.h" |
12 #include "content/public/browser/dom_storage_context.h" | 12 #include "content/public/browser/dom_storage_context.h" |
13 | 13 |
14 using content::BrowserContext; | 14 using content::BrowserContext; |
15 using content::BrowserThread; | 15 using content::BrowserThread; |
16 using content::DOMStorageContext; | 16 using content::DOMStorageContext; |
17 using dom_storage::DomStorageContext; | 17 using dom_storage::DomStorageContext; |
18 | 18 |
19 BrowsingDataLocalStorageHelper::LocalStorageInfo::LocalStorageInfo( | 19 BrowsingDataLocalStorageHelper::LocalStorageInfo::LocalStorageInfo( |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 for (std::set<GURL>::iterator iter = pending_local_storage_info_.begin(); | 141 for (std::set<GURL>::iterator iter = pending_local_storage_info_.begin(); |
142 iter != pending_local_storage_info_.end(); ++iter) { | 142 iter != pending_local_storage_info_.end(); ++iter) { |
143 local_storage_info_.push_back( | 143 local_storage_info_.push_back( |
144 LocalStorageInfo(*iter, 0, base::Time())); | 144 LocalStorageInfo(*iter, 0, base::Time())); |
145 } | 145 } |
146 MessageLoop::current()->PostTask( | 146 MessageLoop::current()->PostTask( |
147 FROM_HERE, | 147 FROM_HERE, |
148 base::Bind(&CannedBrowsingDataLocalStorageHelper::CallCompletionCallback, | 148 base::Bind(&CannedBrowsingDataLocalStorageHelper::CallCompletionCallback, |
149 this)); | 149 this)); |
150 } | 150 } |
OLD | NEW |