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

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

Issue 3522004: FBTF: Move ctors/dtors into implementation files. Adds ctors/dtors to non-POD structs. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/stl_util-inl.h" 9 #include "base/stl_util-inl.h"
10 #include "webkit/appcache/appcache_backend_impl.h" 10 #include "webkit/appcache/appcache_backend_impl.h"
11 #include "webkit/appcache/appcache_storage_impl.h" 11 #include "webkit/appcache/appcache_storage_impl.h"
12 12
13 namespace appcache { 13 namespace appcache {
14 14
15 AppCacheInfoCollection::AppCacheInfoCollection() {}
16
17 AppCacheInfoCollection::~AppCacheInfoCollection() {}
18
15 // AsyncHelper ------- 19 // AsyncHelper -------
16 20
17 class AppCacheService::AsyncHelper 21 class AppCacheService::AsyncHelper
18 : public AppCacheStorage::Delegate { 22 : public AppCacheStorage::Delegate {
19 public: 23 public:
20 AsyncHelper( 24 AsyncHelper(
21 AppCacheService* service, net::CompletionCallback* callback) 25 AppCacheService* service, net::CompletionCallback* callback)
22 : service_(service), callback_(callback) { 26 : service_(service), callback_(callback) {
23 service_->pending_helpers_.insert(this); 27 service_->pending_helpers_.insert(this);
24 } 28 }
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 backends_.insert( 174 backends_.insert(
171 BackendMap::value_type(backend_impl->process_id(), backend_impl)); 175 BackendMap::value_type(backend_impl->process_id(), backend_impl));
172 } 176 }
173 177
174 void AppCacheService::UnregisterBackend( 178 void AppCacheService::UnregisterBackend(
175 AppCacheBackendImpl* backend_impl) { 179 AppCacheBackendImpl* backend_impl) {
176 backends_.erase(backend_impl->process_id()); 180 backends_.erase(backend_impl->process_id());
177 } 181 }
178 182
179 } // namespace appcache 183 } // namespace appcache
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698