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

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: 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 ~RenderProcessHostImpl() override; 95 ~RenderProcessHostImpl() override;
96 96
97 // RenderProcessHost implementation (public portion). 97 // RenderProcessHost implementation (public portion).
98 void EnableSendQueue() override; 98 void EnableSendQueue() override;
99 bool Init() override; 99 bool Init() override;
100 int GetNextRoutingID() override; 100 int GetNextRoutingID() override;
101 void AddRoute(int32 routing_id, IPC::Listener* listener) override; 101 void AddRoute(int32 routing_id, IPC::Listener* listener) override;
102 void RemoveRoute(int32 routing_id) override; 102 void RemoveRoute(int32 routing_id) override;
103 void AddObserver(RenderProcessHostObserver* observer) override; 103 void AddObserver(RenderProcessHostObserver* observer) override;
104 void RemoveObserver(RenderProcessHostObserver* observer) override; 104 void RemoveObserver(RenderProcessHostObserver* observer) override;
105 void ReceivedBadMessage() override; 105 void ReceivedBadMessage(BadMessage reason) override;
106 void WidgetRestored() override; 106 void WidgetRestored() override;
107 void WidgetHidden() override; 107 void WidgetHidden() override;
108 int VisibleWidgetCount() const override; 108 int VisibleWidgetCount() const override;
109 bool IsIsolatedGuest() const override; 109 bool IsIsolatedGuest() const override;
110 StoragePartition* GetStoragePartition() const override; 110 StoragePartition* GetStoragePartition() const override;
111 bool Shutdown(int exit_code, bool wait) override; 111 bool Shutdown(int exit_code, bool wait) override;
112 bool FastShutdownIfPossible() override; 112 bool FastShutdownIfPossible() override;
113 void DumpHandles() override; 113 void DumpHandles() override;
114 base::ProcessHandle GetHandle() const override; 114 base::ProcessHandle GetHandle() const override;
115 BrowserContext* GetBrowserContext() const override; 115 BrowserContext* GetBrowserContext() const override;
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 bool subscribe_uniform_enabled_; 500 bool subscribe_uniform_enabled_;
501 501
502 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 502 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
503 503
504 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 504 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
505 }; 505 };
506 506
507 } // namespace content 507 } // namespace content
508 508
509 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 509 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698