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

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

Issue 9348109: Add extra data to BrowserContext so that content layer and other embedders can stash data with it t… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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/appcache/appcache_host.h" 5 #include "webkit/appcache/appcache_host.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/stringprintf.h" 9 #include "base/stringprintf.h"
10 #include "net/url_request/url_request.h"
10 #include "webkit/appcache/appcache.h" 11 #include "webkit/appcache/appcache.h"
11 #include "webkit/appcache/appcache_backend_impl.h" 12 #include "webkit/appcache/appcache_backend_impl.h"
12 #include "webkit/appcache/appcache_policy.h" 13 #include "webkit/appcache/appcache_policy.h"
13 #include "webkit/appcache/appcache_request_handler.h" 14 #include "webkit/appcache/appcache_request_handler.h"
14 #include "webkit/quota/quota_manager.h" 15 #include "webkit/quota/quota_manager.h"
15 16
16 namespace appcache { 17 namespace appcache {
17 18
18 namespace { 19 namespace {
19 20
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 associated_cache_info_pending_ = cache && !cache->is_complete(); 505 associated_cache_info_pending_ = cache && !cache->is_complete();
505 AppCacheInfo info; 506 AppCacheInfo info;
506 if (cache) 507 if (cache)
507 cache->AssociateHost(this); 508 cache->AssociateHost(this);
508 509
509 FillCacheInfo(cache, manifest_url, GetStatus(), &info); 510 FillCacheInfo(cache, manifest_url, GetStatus(), &info);
510 frontend_->OnCacheSelected(host_id_, info); 511 frontend_->OnCacheSelected(host_id_, info);
511 } 512 }
512 513
513 } // namespace appcache 514 } // namespace appcache
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698