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

Side by Side Diff: content/browser/appcache/appcache_host.cc

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 | « content/DEPS ('k') | content/browser/appcache/appcache_host_unittest.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) 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/appcache/appcache_host.h" 5 #include "content/browser/appcache/appcache_host.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "content/browser/appcache/appcache.h" 10 #include "content/browser/appcache/appcache.h"
11 #include "content/browser/appcache/appcache_backend_impl.h" 11 #include "content/browser/appcache/appcache_backend_impl.h"
12 #include "content/browser/appcache/appcache_policy.h" 12 #include "content/browser/appcache/appcache_policy.h"
13 #include "content/browser/appcache/appcache_request_handler.h" 13 #include "content/browser/appcache/appcache_request_handler.h"
14 #include "net/url_request/url_request.h" 14 #include "net/url_request/url_request.h"
15 #include "webkit/browser/quota/quota_manager_proxy.h" 15 #include "storage/browser/quota/quota_manager_proxy.h"
16 16
17 namespace content { 17 namespace content {
18 18
19 namespace { 19 namespace {
20 20
21 void FillCacheInfo(const AppCache* cache, 21 void FillCacheInfo(const AppCache* cache,
22 const GURL& manifest_url, 22 const GURL& manifest_url,
23 AppCacheStatus status, AppCacheInfo* info) { 23 AppCacheStatus status, AppCacheInfo* info) {
24 info->manifest_url = manifest_url; 24 info->manifest_url = manifest_url;
25 info->status = status; 25 info->status = status;
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 associated_cache_info_pending_ = cache && !cache->is_complete(); 537 associated_cache_info_pending_ = cache && !cache->is_complete();
538 AppCacheInfo info; 538 AppCacheInfo info;
539 if (cache) 539 if (cache)
540 cache->AssociateHost(this); 540 cache->AssociateHost(this);
541 541
542 FillCacheInfo(cache, manifest_url, GetStatus(), &info); 542 FillCacheInfo(cache, manifest_url, GetStatus(), &info);
543 frontend_->OnCacheSelected(host_id_, info); 543 frontend_->OnCacheSelected(host_id_, info);
544 } 544 }
545 545
546 } // namespace content 546 } // namespace content
OLDNEW
« no previous file with comments | « content/DEPS ('k') | content/browser/appcache/appcache_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698