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

Side by Side Diff: webkit/appcache/appcache_service.cc

Issue 16010007: Move webkit/quota files to webkit/browser/quota or webkit/common/quota (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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
« no previous file with comments | « webkit/appcache/appcache_quota_client.h ('k') | webkit/appcache/appcache_storage.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/appcache/appcache_service.h" 5 #include "webkit/appcache/appcache_service.h"
6 6
7 #include <functional> 7 #include <functional>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/stl_util.h" 13 #include "base/stl_util.h"
14 #include "net/base/completion_callback.h" 14 #include "net/base/completion_callback.h"
15 #include "net/base/io_buffer.h" 15 #include "net/base/io_buffer.h"
16 #include "webkit/appcache/appcache.h" 16 #include "webkit/appcache/appcache.h"
17 #include "webkit/appcache/appcache_backend_impl.h" 17 #include "webkit/appcache/appcache_backend_impl.h"
18 #include "webkit/appcache/appcache_entry.h" 18 #include "webkit/appcache/appcache_entry.h"
19 #include "webkit/appcache/appcache_histograms.h" 19 #include "webkit/appcache/appcache_histograms.h"
20 #include "webkit/appcache/appcache_policy.h" 20 #include "webkit/appcache/appcache_policy.h"
21 #include "webkit/appcache/appcache_quota_client.h" 21 #include "webkit/appcache/appcache_quota_client.h"
22 #include "webkit/appcache/appcache_response.h" 22 #include "webkit/appcache/appcache_response.h"
23 #include "webkit/appcache/appcache_storage_impl.h" 23 #include "webkit/appcache/appcache_storage_impl.h"
24 #include "webkit/quota/quota_manager.h" 24 #include "webkit/browser/quota/quota_manager.h"
25 #include "webkit/quota/special_storage_policy.h" 25 #include "webkit/browser/quota/special_storage_policy.h"
26 26
27 namespace appcache { 27 namespace appcache {
28 28
29 namespace { 29 namespace {
30 30
31 void DeferredCallback(const net::CompletionCallback& callback, int rv) { 31 void DeferredCallback(const net::CompletionCallback& callback, int rv) {
32 callback.Run(rv); 32 callback.Run(rv);
33 } 33 }
34 34
35 } // namespace 35 } // namespace
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 backends_.insert( 508 backends_.insert(
509 BackendMap::value_type(backend_impl->process_id(), backend_impl)); 509 BackendMap::value_type(backend_impl->process_id(), backend_impl));
510 } 510 }
511 511
512 void AppCacheService::UnregisterBackend( 512 void AppCacheService::UnregisterBackend(
513 AppCacheBackendImpl* backend_impl) { 513 AppCacheBackendImpl* backend_impl) {
514 backends_.erase(backend_impl->process_id()); 514 backends_.erase(backend_impl->process_id());
515 } 515 }
516 516
517 } // namespace appcache 517 } // namespace appcache
OLDNEW
« no previous file with comments | « webkit/appcache/appcache_quota_client.h ('k') | webkit/appcache/appcache_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698