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

Side by Side Diff: webkit/fileapi/file_system_quota_client.cc

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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) 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 "webkit/fileapi/file_system_quota_client.h" 5 #include "webkit/fileapi/file_system_quota_client.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <set> 8 #include <set>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/message_loop_proxy.h" 14 #include "base/message_loop_proxy.h"
15 #include "base/task.h"
16 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
17 #include "net/base/net_util.h" 16 #include "net/base/net_util.h"
18 #include "webkit/fileapi/file_system_context.h" 17 #include "webkit/fileapi/file_system_context.h"
19 #include "webkit/fileapi/file_system_quota_util.h" 18 #include "webkit/fileapi/file_system_quota_util.h"
20 #include "webkit/fileapi/file_system_usage_cache.h" 19 #include "webkit/fileapi/file_system_usage_cache.h"
21 #include "webkit/fileapi/file_system_util.h" 20 #include "webkit/fileapi/file_system_util.h"
22 21
23 using base::MessageLoopProxy; 22 using base::MessageLoopProxy;
24 using quota::QuotaThreadTask; 23 using quota::QuotaThreadTask;
25 using quota::StorageType; 24 using quota::StorageType;
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 } 284 }
286 285
287 void FileSystemQuotaClient::DidGetOriginsForHost( 286 void FileSystemQuotaClient::DidGetOriginsForHost(
288 const TypeAndHostOrOrigin& type_and_host, const std::set<GURL>& origins) { 287 const TypeAndHostOrOrigin& type_and_host, const std::set<GURL>& origins) {
289 DCHECK(pending_origins_for_host_callbacks_.HasCallbacks(type_and_host)); 288 DCHECK(pending_origins_for_host_callbacks_.HasCallbacks(type_and_host));
290 pending_origins_for_host_callbacks_.Run(type_and_host, origins, 289 pending_origins_for_host_callbacks_.Run(type_and_host, origins,
291 FileSystemTypeToQuotaStorageType(type_and_host.first)); 290 FileSystemTypeToQuotaStorageType(type_and_host.first));
292 } 291 }
293 292
294 } // namespace fileapi 293 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_dir_url_request_job.h ('k') | webkit/fileapi/file_system_url_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698