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

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

Issue 2427443002: Replace remaining shell references with service manager (Closed)
Patch Set: Created 4 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 // PlzNavigate 467 // PlzNavigate
468 // Stores the time at which the first call to Init happened. 468 // Stores the time at which the first call to Init happened.
469 base::TimeTicks init_time_; 469 base::TimeTicks init_time_;
470 470
471 // Used to launch and terminate the process without blocking the UI thread. 471 // Used to launch and terminate the process without blocking the UI thread.
472 std::unique_ptr<ChildProcessLauncher> child_process_launcher_; 472 std::unique_ptr<ChildProcessLauncher> child_process_launcher_;
473 473
474 // The globally-unique identifier for this RPH. 474 // The globally-unique identifier for this RPH.
475 const int id_; 475 const int id_;
476 476
477 // A secondary ID used by the Mojo shell to distinguish different incarnations 477 // A secondary ID used by the Service Manager to distinguish different
478 // of the same RPH from each other. Unlike |id_| this is not globally unique, 478 // incarnations of the same RPH from each other. Unlike |id_| this is not
479 // but it is guaranteed to change every time Init() is called. 479 // globally unique, but it is guaranteed to change every time ProcessDied() is
480 // called.
480 int instance_id_ = 1; 481 int instance_id_ = 1;
481 482
482 BrowserContext* browser_context_; 483 BrowserContext* browser_context_;
483 484
484 // Owned by |browser_context_|. 485 // Owned by |browser_context_|.
485 StoragePartitionImpl* storage_partition_impl_; 486 StoragePartitionImpl* storage_partition_impl_;
486 487
487 // The observers watching our lifetime. 488 // The observers watching our lifetime.
488 base::ObserverList<RenderProcessHostObserver> observers_; 489 base::ObserverList<RenderProcessHostObserver> observers_;
489 490
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 instance_weak_factory_; 586 instance_weak_factory_;
586 587
587 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 588 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
588 589
589 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 590 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
590 }; 591 };
591 592
592 } // namespace content 593 } // namespace content
593 594
594 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 595 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/renderer_host/render_widget_host_view_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698