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

Side by Side Diff: content/browser/renderer_host/render_process_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_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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 405
406 // The globally-unique identifier for this RPH. 406 // The globally-unique identifier for this RPH.
407 int id_; 407 int id_;
408 408
409 BrowserContext* browser_context_; 409 BrowserContext* browser_context_;
410 410
411 // Owned by |browser_context_|. 411 // Owned by |browser_context_|.
412 StoragePartitionImpl* storage_partition_impl_; 412 StoragePartitionImpl* storage_partition_impl_;
413 413
414 // The observers watching our lifetime. 414 // The observers watching our lifetime.
415 ObserverList<RenderProcessHostObserver> observers_; 415 base::ObserverList<RenderProcessHostObserver> observers_;
416 416
417 // True if the process can be shut down suddenly. If this is true, then we're 417 // True if the process can be shut down suddenly. If this is true, then we're
418 // sure that all the RenderViews in the process can be shutdown suddenly. If 418 // sure that all the RenderViews in the process can be shutdown suddenly. If
419 // it's false, then specific RenderViews might still be allowed to be shutdown 419 // it's false, then specific RenderViews might still be allowed to be shutdown
420 // suddenly by checking their SuddenTerminationAllowed() flag. This can occur 420 // suddenly by checking their SuddenTerminationAllowed() flag. This can occur
421 // if one WebContents has an unload event listener but another WebContents in 421 // if one WebContents has an unload event listener but another WebContents in
422 // the same process doesn't. 422 // the same process doesn't.
423 bool sudden_termination_allowed_; 423 bool sudden_termination_allowed_;
424 424
425 // Set to true if we shouldn't send input events. We actually do the 425 // Set to true if we shouldn't send input events. We actually do the
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 bool subscribe_uniform_enabled_; 502 bool subscribe_uniform_enabled_;
503 503
504 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 504 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
505 505
506 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 506 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
507 }; 507 };
508 508
509 } // namespace content 509 } // namespace content
510 510
511 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 511 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698