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

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

Issue 3009005: Chrome side of changes required to populate appcache resource list.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
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 "chrome/common/appcache/appcache_backend_proxy.h" 5 #include "chrome/common/appcache/appcache_backend_proxy.h"
6 6
7 #include "chrome/common/render_messages.h" 7 #include "chrome/common/render_messages.h"
8 8
9 void AppCacheBackendProxy::RegisterHost(int host_id) { 9 void AppCacheBackendProxy::RegisterHost(int host_id) {
10 sender_->Send(new AppCacheMsg_RegisterHost(host_id)); 10 sender_->Send(new AppCacheMsg_RegisterHost(host_id));
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 bool result = false; 56 bool result = false;
57 sender_->Send(new AppCacheMsg_StartUpdate(host_id, &result)); 57 sender_->Send(new AppCacheMsg_StartUpdate(host_id, &result));
58 return result; 58 return result;
59 } 59 }
60 60
61 bool AppCacheBackendProxy::SwapCache(int host_id) { 61 bool AppCacheBackendProxy::SwapCache(int host_id) {
62 bool result = false; 62 bool result = false;
63 sender_->Send(new AppCacheMsg_SwapCache(host_id, &result)); 63 sender_->Send(new AppCacheMsg_SwapCache(host_id, &result));
64 return result; 64 return result;
65 } 65 }
66
67 void AppCacheBackendProxy::GetResourceList(
68 int host_id, std::vector<appcache::AppCacheResourceInfo>* resource_infos) {
69 sender_->Send(new AppCacheMsg_GetResourceList(host_id, resource_infos));
70 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698