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

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

Issue 740813004: Use StopChildProcess instead of base::KillProcess to kill a renderer process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comments Created 6 years 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 void AddRoute(int32 routing_id, IPC::Listener* listener) override; 97 void AddRoute(int32 routing_id, IPC::Listener* listener) override;
98 void RemoveRoute(int32 routing_id) override; 98 void RemoveRoute(int32 routing_id) override;
99 void AddObserver(RenderProcessHostObserver* observer) override; 99 void AddObserver(RenderProcessHostObserver* observer) override;
100 void RemoveObserver(RenderProcessHostObserver* observer) override; 100 void RemoveObserver(RenderProcessHostObserver* observer) override;
101 void ReceivedBadMessage() override; 101 void ReceivedBadMessage() override;
102 void WidgetRestored() override; 102 void WidgetRestored() override;
103 void WidgetHidden() override; 103 void WidgetHidden() override;
104 int VisibleWidgetCount() const override; 104 int VisibleWidgetCount() const override;
105 bool IsIsolatedGuest() const override; 105 bool IsIsolatedGuest() const override;
106 StoragePartition* GetStoragePartition() const override; 106 StoragePartition* GetStoragePartition() const override;
107 bool Shutdown(int exit_code, bool wait) override;
107 bool FastShutdownIfPossible() override; 108 bool FastShutdownIfPossible() override;
108 void DumpHandles() override; 109 void DumpHandles() override;
109 base::ProcessHandle GetHandle() const override; 110 base::ProcessHandle GetHandle() const override;
110 BrowserContext* GetBrowserContext() const override; 111 BrowserContext* GetBrowserContext() const override;
111 bool InSameStoragePartition(StoragePartition* partition) const override; 112 bool InSameStoragePartition(StoragePartition* partition) const override;
112 int GetID() const override; 113 int GetID() const override;
113 bool HasConnection() const override; 114 bool HasConnection() const override;
114 void SetIgnoreInputEvents(bool ignore_input_events) override; 115 void SetIgnoreInputEvents(bool ignore_input_events) override;
115 bool IgnoreInputEvents() const override; 116 bool IgnoreInputEvents() const override;
116 void Cleanup() override; 117 void Cleanup() override;
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 scoped_ptr<PermissionServiceContext> permission_service_context_; 471 scoped_ptr<PermissionServiceContext> permission_service_context_;
471 472
472 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 473 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
473 474
474 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 475 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
475 }; 476 };
476 477
477 } // namespace content 478 } // namespace content
478 479
479 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 480 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/manifest/manifest_manager_host.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698