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_database_helper.h" | 5 #include "chrome/browser/browsing_data/browsing_data_database_helper.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
12 #include "chrome/browser/browsing_data_helper.h" | 12 #include "chrome/browser/browsing_data/browsing_data_helper.h" |
13 #include "chrome/browser/profiles/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
14 #include "content/public/browser/browser_thread.h" | 14 #include "content/public/browser/browser_thread.h" |
15 #include "net/base/completion_callback.h" | 15 #include "net/base/completion_callback.h" |
16 #include "net/base/net_errors.h" | 16 #include "net/base/net_errors.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCString.h
" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCString.h
" |
18 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" |
20 | 20 |
21 using content::BrowserContext; | 21 using content::BrowserContext; |
22 using content::BrowserThread; | 22 using content::BrowserThread; |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 info->description, | 231 info->description, |
232 web_security_origin.toString().utf8(), | 232 web_security_origin.toString().utf8(), |
233 0, | 233 0, |
234 base::Time())); | 234 base::Time())); |
235 } | 235 } |
236 | 236 |
237 BrowserThread::PostTask( | 237 BrowserThread::PostTask( |
238 BrowserThread::UI, FROM_HERE, | 238 BrowserThread::UI, FROM_HERE, |
239 base::Bind(&CannedBrowsingDataDatabaseHelper::NotifyInUIThread, this)); | 239 base::Bind(&CannedBrowsingDataDatabaseHelper::NotifyInUIThread, this)); |
240 } | 240 } |
OLD | NEW |