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

Side by Side Diff: content/browser/renderer_host/pepper/browser_ppapi_host_impl.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 BrowserPpapiHostImpl* browser_ppapi_host_impl_; 131 BrowserPpapiHostImpl* browser_ppapi_host_impl_;
132 }; 132 };
133 133
134 struct InstanceData { 134 struct InstanceData {
135 InstanceData(const PepperRendererInstanceData& renderer_data); 135 InstanceData(const PepperRendererInstanceData& renderer_data);
136 ~InstanceData(); 136 ~InstanceData();
137 137
138 PepperRendererInstanceData renderer_data; 138 PepperRendererInstanceData renderer_data;
139 bool is_throttled; 139 bool is_throttled;
140 140
141 ObserverList<InstanceObserver> observer_list; 141 base::ObserverList<InstanceObserver> observer_list;
142 }; 142 };
143 143
144 // Reports plugin activity to the callback set with SetOnKeepaliveCallback. 144 // Reports plugin activity to the callback set with SetOnKeepaliveCallback.
145 void OnKeepalive(); 145 void OnKeepalive();
146 146
147 scoped_ptr<ppapi::host::PpapiHost> ppapi_host_; 147 scoped_ptr<ppapi::host::PpapiHost> ppapi_host_;
148 base::Process plugin_process_; 148 base::Process plugin_process_;
149 std::string plugin_name_; 149 std::string plugin_name_;
150 base::FilePath plugin_path_; 150 base::FilePath plugin_path_;
151 base::FilePath profile_data_directory_; 151 base::FilePath profile_data_directory_;
(...skipping 13 matching lines...) Expand all
165 scoped_refptr<HostMessageFilter> message_filter_; 165 scoped_refptr<HostMessageFilter> message_filter_;
166 166
167 BrowserPpapiHost::OnKeepaliveCallback on_keepalive_callback_; 167 BrowserPpapiHost::OnKeepaliveCallback on_keepalive_callback_;
168 168
169 DISALLOW_COPY_AND_ASSIGN(BrowserPpapiHostImpl); 169 DISALLOW_COPY_AND_ASSIGN(BrowserPpapiHostImpl);
170 }; 170 };
171 171
172 } // namespace content 172 } // namespace content
173 173
174 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ 174 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/power_profiler/power_profiler_service.h ('k') | content/browser/renderer_host/render_process_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698