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

Side by Side Diff: content/browser/in_process_webkit/indexed_db_quota_client.cc

Issue 9558012: Cleanup: IWYU for BrowserThread. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win Created 8 years, 9 months 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "content/browser/in_process_webkit/indexed_db_quota_client.h" 5 #include "content/browser/in_process_webkit/indexed_db_quota_client.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/logging.h"
10 #include "base/message_loop_proxy.h" 11 #include "base/message_loop_proxy.h"
11 #include "content/browser/in_process_webkit/indexed_db_context_impl.h" 12 #include "content/browser/in_process_webkit/indexed_db_context_impl.h"
12 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
13 #include "net/base/net_util.h" 14 #include "net/base/net_util.h"
14 #include "webkit/database/database_util.h" 15 #include "webkit/database/database_util.h"
15 16
16 using content::BrowserThread; 17 using content::BrowserThread;
17 using quota::QuotaClient; 18 using quota::QuotaClient;
18 using webkit_database::DatabaseUtil; 19 using webkit_database::DatabaseUtil;
19 20
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 DCHECK(origins_for_type_callbacks_.HasCallbacks()); 254 DCHECK(origins_for_type_callbacks_.HasCallbacks());
254 origins_for_type_callbacks_.Run(origins, type); 255 origins_for_type_callbacks_.Run(origins, type);
255 } 256 }
256 257
257 void IndexedDBQuotaClient::DidGetOriginsForHost( 258 void IndexedDBQuotaClient::DidGetOriginsForHost(
258 const std::string& host, const std::set<GURL>& origins, 259 const std::string& host, const std::set<GURL>& origins,
259 quota::StorageType type) { 260 quota::StorageType type) {
260 DCHECK(origins_for_host_callbacks_.HasCallbacks(host)); 261 DCHECK(origins_for_host_callbacks_.HasCallbacks(host));
261 origins_for_host_callbacks_.Run(host, origins, type); 262 origins_for_host_callbacks_.Run(host, origins, type);
262 } 263 }
OLDNEW
« no previous file with comments | « content/browser/download/drag_download_util.cc ('k') | content/browser/power_save_blocker_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698