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

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

Issue 1009583004: Add UMA histograms and logging for bad IPC message handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: actions.xml claims to be pretty printed Created 5 years, 9 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 ~RenderProcessHostImpl() override; 96 ~RenderProcessHostImpl() override;
97 97
98 // RenderProcessHost implementation (public portion). 98 // RenderProcessHost implementation (public portion).
99 void EnableSendQueue() override; 99 void EnableSendQueue() override;
100 bool Init() override; 100 bool Init() override;
101 int GetNextRoutingID() override; 101 int GetNextRoutingID() override;
102 void AddRoute(int32 routing_id, IPC::Listener* listener) override; 102 void AddRoute(int32 routing_id, IPC::Listener* listener) override;
103 void RemoveRoute(int32 routing_id) override; 103 void RemoveRoute(int32 routing_id) override;
104 void AddObserver(RenderProcessHostObserver* observer) override; 104 void AddObserver(RenderProcessHostObserver* observer) override;
105 void RemoveObserver(RenderProcessHostObserver* observer) override; 105 void RemoveObserver(RenderProcessHostObserver* observer) override;
106 void ReceivedBadMessage() override; 106 void ShutdownForBadMessage() override;
107 void WidgetRestored() override; 107 void WidgetRestored() override;
108 void WidgetHidden() override; 108 void WidgetHidden() override;
109 int VisibleWidgetCount() const override; 109 int VisibleWidgetCount() const override;
110 bool IsIsolatedGuest() const override; 110 bool IsIsolatedGuest() const override;
111 StoragePartition* GetStoragePartition() const override; 111 StoragePartition* GetStoragePartition() const override;
112 bool Shutdown(int exit_code, bool wait) override; 112 bool Shutdown(int exit_code, bool wait) override;
113 bool FastShutdownIfPossible() override; 113 bool FastShutdownIfPossible() override;
114 void DumpHandles() override; 114 void DumpHandles() override;
115 base::ProcessHandle GetHandle() const override; 115 base::ProcessHandle GetHandle() const override;
116 BrowserContext* GetBrowserContext() const override; 116 BrowserContext* GetBrowserContext() const override;
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 bool subscribe_uniform_enabled_; 501 bool subscribe_uniform_enabled_;
502 502
503 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 503 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
504 504
505 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 505 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
506 }; 506 };
507 507
508 } // namespace content 508 } // namespace content
509 509
510 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 510 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.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