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

Side by Side Diff: content/common/appcache/appcache_backend_proxy.cc

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 1 month 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 "content/common/appcache/appcache_backend_proxy.h" 5 #include "content/common/appcache/appcache_backend_proxy.h"
6 6
7 #include "content/common/appcache_messages.h" 7 #include "content/common/appcache_messages.h"
8 8
9 namespace content {
10
9 void AppCacheBackendProxy::RegisterHost(int host_id) { 11 void AppCacheBackendProxy::RegisterHost(int host_id) {
10 sender_->Send(new AppCacheHostMsg_RegisterHost(host_id)); 12 sender_->Send(new AppCacheHostMsg_RegisterHost(host_id));
11 } 13 }
12 14
13 void AppCacheBackendProxy::UnregisterHost(int host_id) { 15 void AppCacheBackendProxy::UnregisterHost(int host_id) {
14 sender_->Send(new AppCacheHostMsg_UnregisterHost(host_id)); 16 sender_->Send(new AppCacheHostMsg_UnregisterHost(host_id));
15 } 17 }
16 18
17 void AppCacheBackendProxy::SetSpawningHostId(int host_id, 19 void AppCacheBackendProxy::SetSpawningHostId(int host_id,
18 int spawning_host_id) { 20 int spawning_host_id) {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 bool AppCacheBackendProxy::SwapCache(int host_id) { 69 bool AppCacheBackendProxy::SwapCache(int host_id) {
68 bool result = false; 70 bool result = false;
69 sender_->Send(new AppCacheHostMsg_SwapCache(host_id, &result)); 71 sender_->Send(new AppCacheHostMsg_SwapCache(host_id, &result));
70 return result; 72 return result;
71 } 73 }
72 74
73 void AppCacheBackendProxy::GetResourceList( 75 void AppCacheBackendProxy::GetResourceList(
74 int host_id, std::vector<appcache::AppCacheResourceInfo>* resource_infos) { 76 int host_id, std::vector<appcache::AppCacheResourceInfo>* resource_infos) {
75 sender_->Send(new AppCacheHostMsg_GetResourceList(host_id, resource_infos)); 77 sender_->Send(new AppCacheHostMsg_GetResourceList(host_id, resource_infos));
76 } 78 }
79
80 } // namespace content
OLDNEW
« no previous file with comments | « content/common/appcache/appcache_backend_proxy.h ('k') | content/common/appcache/appcache_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698