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

Side by Side Diff: content/browser/appcache/appcache_frontend_proxy.cc

Issue 10662005: Use IPC::Sender and IPC::Listener in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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) 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/browser/appcache/appcache_frontend_proxy.h" 5 #include "content/browser/appcache/appcache_frontend_proxy.h"
6 6
7 #include "content/common/appcache_messages.h" 7 #include "content/common/appcache_messages.h"
8 8
9 AppCacheFrontendProxy::AppCacheFrontendProxy(IPC::Message::Sender* sender) 9 AppCacheFrontendProxy::AppCacheFrontendProxy(IPC::Sender* sender)
10 : sender_(sender) { 10 : sender_(sender) {
11 } 11 }
12 12
13 void AppCacheFrontendProxy::OnCacheSelected( 13 void AppCacheFrontendProxy::OnCacheSelected(
14 int host_id, const appcache::AppCacheInfo& info) { 14 int host_id, const appcache::AppCacheInfo& info) {
15 sender_->Send(new AppCacheMsg_CacheSelected(host_id, info)); 15 sender_->Send(new AppCacheMsg_CacheSelected(host_id, info));
16 } 16 }
17 17
18 void AppCacheFrontendProxy::OnStatusChanged(const std::vector<int>& host_ids, 18 void AppCacheFrontendProxy::OnStatusChanged(const std::vector<int>& host_ids,
19 appcache::Status status) { 19 appcache::Status status) {
(...skipping 23 matching lines...) Expand all
43 void AppCacheFrontendProxy::OnLogMessage(int host_id, 43 void AppCacheFrontendProxy::OnLogMessage(int host_id,
44 appcache::LogLevel log_level, 44 appcache::LogLevel log_level,
45 const std::string& message) { 45 const std::string& message) {
46 sender_->Send(new AppCacheMsg_LogMessage(host_id, log_level, message)); 46 sender_->Send(new AppCacheMsg_LogMessage(host_id, log_level, message));
47 } 47 }
48 48
49 void AppCacheFrontendProxy::OnContentBlocked(int host_id, 49 void AppCacheFrontendProxy::OnContentBlocked(int host_id,
50 const GURL& manifest_url) { 50 const GURL& manifest_url) {
51 sender_->Send(new AppCacheMsg_ContentBlocked(host_id, manifest_url)); 51 sender_->Send(new AppCacheMsg_ContentBlocked(host_id, manifest_url));
52 } 52 }
OLDNEW
« no previous file with comments | « content/browser/appcache/appcache_frontend_proxy.h ('k') | content/browser/device_orientation/message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698