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

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

Issue 22314003: NavigationController prototype Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: NavController prototype - chrome side Created 7 years, 3 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/browser/appcache/appcache_service.h" 5 #include "webkit/browser/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"
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 423
424 if (check_result != AppCacheHistograms::RESPONSE_OK) 424 if (check_result != AppCacheHistograms::RESPONSE_OK)
425 service_->DeleteAppCacheGroup(manifest_url_, net::CompletionCallback()); 425 service_->DeleteAppCacheGroup(manifest_url_, net::CompletionCallback());
426 delete this; 426 delete this;
427 } 427 }
428 428
429 429
430 // AppCacheService ------- 430 // AppCacheService -------
431 431
432 AppCacheService::AppCacheService(quota::QuotaManagerProxy* quota_manager_proxy) 432 AppCacheService::AppCacheService(quota::QuotaManagerProxy* quota_manager_proxy)
433 : appcache_policy_(NULL), quota_client_(NULL), handler_factory_(NULL), 433 : appcache_policy_(NULL), quota_client_(NULL),
434 executable_handler_factory_(NULL),
434 quota_manager_proxy_(quota_manager_proxy), 435 quota_manager_proxy_(quota_manager_proxy),
435 request_context_(NULL), 436 request_context_(NULL),
436 force_keep_session_state_(false) { 437 force_keep_session_state_(false) {
437 if (quota_manager_proxy_.get()) { 438 if (quota_manager_proxy_.get()) {
438 quota_client_ = new AppCacheQuotaClient(this); 439 quota_client_ = new AppCacheQuotaClient(this);
439 quota_manager_proxy_->RegisterClient(quota_client_); 440 quota_manager_proxy_->RegisterClient(quota_client_);
440 } 441 }
441 } 442 }
442 443
443 AppCacheService::~AppCacheService() { 444 AppCacheService::~AppCacheService() {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 backends_.insert( 513 backends_.insert(
513 BackendMap::value_type(backend_impl->process_id(), backend_impl)); 514 BackendMap::value_type(backend_impl->process_id(), backend_impl));
514 } 515 }
515 516
516 void AppCacheService::UnregisterBackend( 517 void AppCacheService::UnregisterBackend(
517 AppCacheBackendImpl* backend_impl) { 518 AppCacheBackendImpl* backend_impl) {
518 backends_.erase(backend_impl->process_id()); 519 backends_.erase(backend_impl->process_id());
519 } 520 }
520 521
521 } // namespace appcache 522 } // namespace appcache
OLDNEW
« no previous file with comments | « webkit/browser/appcache/appcache_service.h ('k') | webkit/browser/appcache/appcache_update_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698