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

Side by Side Diff: chrome/browser/appcache/appcache_frontend_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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/browser/appcache/appcache_frontend_proxy.h" 5 #include "chrome/browser/appcache/appcache_frontend_proxy.h"
6 6
7 #include "chrome/common/render_messages.h" 7 #include "chrome/common/render_messages.h"
8 8
9 void AppCacheFrontendProxy::OnCacheSelected(int host_id, int64 cache_id , 9 void AppCacheFrontendProxy::OnCacheSelected(
10 appcache::Status status) { 10 int host_id, const appcache::AppCacheInfo& info) {
11 sender_->Send(new AppCacheMsg_CacheSelected(host_id, cache_id, status)); 11 sender_->Send(new AppCacheMsg_CacheSelected(host_id, info));
12 } 12 }
13 13
14 void AppCacheFrontendProxy::OnStatusChanged(const std::vector<int>& host_ids, 14 void AppCacheFrontendProxy::OnStatusChanged(const std::vector<int>& host_ids,
15 appcache::Status status) { 15 appcache::Status status) {
16 sender_->Send(new AppCacheMsg_StatusChanged(host_ids, status)); 16 sender_->Send(new AppCacheMsg_StatusChanged(host_ids, status));
17 } 17 }
18 18
19 void AppCacheFrontendProxy::OnEventRaised(const std::vector<int>& host_ids, 19 void AppCacheFrontendProxy::OnEventRaised(const std::vector<int>& host_ids,
20 appcache::EventID event_id) { 20 appcache::EventID event_id) {
21 DCHECK(event_id != appcache::PROGRESS_EVENT); // See OnProgressEventRaised. 21 DCHECK(event_id != appcache::PROGRESS_EVENT); // See OnProgressEventRaised.
(...skipping 17 matching lines...) Expand all
39 void AppCacheFrontendProxy::OnLogMessage(int host_id, 39 void AppCacheFrontendProxy::OnLogMessage(int host_id,
40 appcache::LogLevel log_level, 40 appcache::LogLevel log_level,
41 const std::string& message) { 41 const std::string& message) {
42 sender_->Send(new AppCacheMsg_LogMessage(host_id, log_level, message)); 42 sender_->Send(new AppCacheMsg_LogMessage(host_id, log_level, message));
43 } 43 }
44 44
45 void AppCacheFrontendProxy::OnContentBlocked(int host_id, 45 void AppCacheFrontendProxy::OnContentBlocked(int host_id,
46 const GURL& manifest_url) { 46 const GURL& manifest_url) {
47 sender_->Send(new AppCacheMsg_ContentBlocked(host_id, manifest_url)); 47 sender_->Send(new AppCacheMsg_ContentBlocked(host_id, manifest_url));
48 } 48 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698