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

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

Issue 9004019: Cleanup: Removing FileSystemPathManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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) 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 "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" 15 #include "base/task.h"
16 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
17 #include "net/base/net_util.h" 17 #include "net/base/net_util.h"
18 #include "webkit/fileapi/file_system_context.h" 18 #include "webkit/fileapi/file_system_context.h"
19 #include "webkit/fileapi/file_system_path_manager.h"
20 #include "webkit/fileapi/file_system_quota_util.h" 19 #include "webkit/fileapi/file_system_quota_util.h"
21 #include "webkit/fileapi/file_system_usage_cache.h" 20 #include "webkit/fileapi/file_system_usage_cache.h"
22 #include "webkit/fileapi/file_system_util.h" 21 #include "webkit/fileapi/file_system_util.h"
23 22
24 using base::MessageLoopProxy; 23 using base::MessageLoopProxy;
25 using quota::QuotaThreadTask; 24 using quota::QuotaThreadTask;
26 using quota::StorageType; 25 using quota::StorageType;
27 26
28 namespace fileapi { 27 namespace fileapi {
29 28
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 } 285 }
287 286
288 void FileSystemQuotaClient::DidGetOriginsForHost( 287 void FileSystemQuotaClient::DidGetOriginsForHost(
289 const TypeAndHostOrOrigin& type_and_host, const std::set<GURL>& origins) { 288 const TypeAndHostOrOrigin& type_and_host, const std::set<GURL>& origins) {
290 DCHECK(pending_origins_for_host_callbacks_.HasCallbacks(type_and_host)); 289 DCHECK(pending_origins_for_host_callbacks_.HasCallbacks(type_and_host));
291 pending_origins_for_host_callbacks_.Run(type_and_host, origins, 290 pending_origins_for_host_callbacks_.Run(type_and_host, origins,
292 FileSystemTypeToQuotaStorageType(type_and_host.first)); 291 FileSystemTypeToQuotaStorageType(type_and_host.first));
293 } 292 }
294 293
295 } // namespace fileapi 294 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_quota_client.h ('k') | webkit/fileapi/file_system_quota_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698