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

Side by Side Diff: content/browser/ppapi_plugin_process_host.h

Issue 7661031: Tag IPC::Channel::Listener implementations with OVERRIDE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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) 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 #ifndef CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_ 5 #ifndef CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_
6 #define CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_ 6 #define CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <queue> 9 #include <queue>
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 const FilePath& plugin_path() const { return plugin_path_; } 62 const FilePath& plugin_path() const { return plugin_path_; }
63 63
64 // The client pointer must remain valid until its callback is issued. 64 // The client pointer must remain valid until its callback is issued.
65 65
66 private: 66 private:
67 void RequestPluginChannel(Client* client); 67 void RequestPluginChannel(Client* client);
68 68
69 virtual bool CanShutdown(); 69 virtual bool CanShutdown();
70 virtual void OnProcessLaunched(); 70 virtual void OnProcessLaunched();
71 71
72 virtual bool OnMessageReceived(const IPC::Message& msg); 72 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
73 virtual void OnChannelConnected(int32 peer_pid); 73 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
74 virtual void OnChannelError(); 74 virtual void OnChannelError() OVERRIDE;
75 75
76 void CancelRequests(); 76 void CancelRequests();
77 77
78 // IPAddressObserver implementation. 78 // IPAddressObserver implementation.
79 virtual void OnIPAddressChanged() OVERRIDE; 79 virtual void OnIPAddressChanged() OVERRIDE;
80 80
81 // OnlineStateObserver implementation. 81 // OnlineStateObserver implementation.
82 virtual void OnOnlineStateChanged(bool online) OVERRIDE; 82 virtual void OnOnlineStateChanged(bool online) OVERRIDE;
83 83
84 // IPC message handlers. 84 // IPC message handlers.
(...skipping 11 matching lines...) Expand all
96 std::queue<Client*> sent_requests_; 96 std::queue<Client*> sent_requests_;
97 97
98 // Path to the plugin library. 98 // Path to the plugin library.
99 FilePath plugin_path_; 99 FilePath plugin_path_;
100 100
101 DISALLOW_COPY_AND_ASSIGN(PpapiPluginProcessHost); 101 DISALLOW_COPY_AND_ASSIGN(PpapiPluginProcessHost);
102 }; 102 };
103 103
104 #endif // CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_ 104 #endif // CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_
105 105
OLDNEW
« no previous file with comments | « content/browser/ppapi_broker_process_host.h ('k') | content/browser/renderer_host/browser_render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698