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

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

Issue 1373853003: 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: add comment 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
268 protected: 270 protected:
269 // A proxy for our IPC::Channel that lives on the IO thread (see 271 // A proxy for our IPC::Channel that lives on the IO thread (see
270 // browser_process.h) 272 // browser_process.h)
271 scoped_ptr<IPC::ChannelProxy> channel_; 273 scoped_ptr<IPC::ChannelProxy> channel_;
272 274
273 // True if fast shutdown has been performed on this RPH. 275 // True if fast shutdown has been performed on this RPH.
274 bool fast_shutdown_started_; 276 bool fast_shutdown_started_;
275 277
276 // True if we've posted a DeleteTask and will be deleted soon. 278 // True if we've posted a DeleteTask and will be deleted soon.
277 bool deleting_soon_; 279 bool deleting_soon_;
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 #endif 497 #endif
496 498
497 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 499 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
498 500
499 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 501 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
500 }; 502 };
501 503
502 } // namespace content 504 } // namespace content
503 505
504 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 506 #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