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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 1380023002: Revert of Don't choose a background process when choosing a process for starting a Service Worker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_process_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 // to the Worker in this renderer process has changed. 258 // to the Worker in this renderer process has changed.
259 // It is only called when "enable-embedded-shared-worker" flag is set. 259 // It is only called when "enable-embedded-shared-worker" flag is set.
260 void IncrementWorkerRefCount(); 260 void IncrementWorkerRefCount();
261 void DecrementWorkerRefCount(); 261 void DecrementWorkerRefCount();
262 262
263 void GetAudioOutputControllers( 263 void GetAudioOutputControllers(
264 const GetAudioOutputControllersCallback& callback) const override; 264 const GetAudioOutputControllersCallback& callback) const override;
265 265
266 BluetoothDispatcherHost* GetBluetoothDispatcherHost(); 266 BluetoothDispatcherHost* GetBluetoothDispatcherHost();
267 267
268 bool backgrounded() const { return backgrounded_; };
269
270 protected: 268 protected:
271 // A proxy for our IPC::Channel that lives on the IO thread (see 269 // A proxy for our IPC::Channel that lives on the IO thread (see
272 // browser_process.h) 270 // browser_process.h)
273 scoped_ptr<IPC::ChannelProxy> channel_; 271 scoped_ptr<IPC::ChannelProxy> channel_;
274 272
275 // True if fast shutdown has been performed on this RPH. 273 // True if fast shutdown has been performed on this RPH.
276 bool fast_shutdown_started_; 274 bool fast_shutdown_started_;
277 275
278 // True if we've posted a DeleteTask and will be deleted soon. 276 // True if we've posted a DeleteTask and will be deleted soon.
279 bool deleting_soon_; 277 bool deleting_soon_;
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 #endif 495 #endif
498 496
499 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 497 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
500 498
501 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 499 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
502 }; 500 };
503 501
504 } // namespace content 502 } // namespace content
505 503
506 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 504 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_process_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698