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

Side by Side Diff: content/public/test/mock_render_process_host.h

Issue 1542743002: [RDHI] Refactored blocked_loaders_map_ to key by render frame route id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix lambda return value Created 4 years, 11 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_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <utility> 10 #include <utility>
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 void AddPendingView() override; 68 void AddPendingView() override;
69 void RemovePendingView() override; 69 void RemovePendingView() override;
70 void SetSuddenTerminationAllowed(bool allowed) override; 70 void SetSuddenTerminationAllowed(bool allowed) override;
71 bool SuddenTerminationAllowed() const override; 71 bool SuddenTerminationAllowed() const override;
72 BrowserContext* GetBrowserContext() const override; 72 BrowserContext* GetBrowserContext() const override;
73 bool InSameStoragePartition(StoragePartition* partition) const override; 73 bool InSameStoragePartition(StoragePartition* partition) const override;
74 IPC::ChannelProxy* GetChannel() override; 74 IPC::ChannelProxy* GetChannel() override;
75 void AddFilter(BrowserMessageFilter* filter) override; 75 void AddFilter(BrowserMessageFilter* filter) override;
76 bool FastShutdownForPageCount(size_t count) override; 76 bool FastShutdownForPageCount(size_t count) override;
77 base::TimeDelta GetChildProcessIdleTime() const override; 77 base::TimeDelta GetChildProcessIdleTime() const override;
78 void ResumeRequestsForView(int route_id) override;
79 void FilterURL(bool empty_allowed, GURL* url) override; 78 void FilterURL(bool empty_allowed, GURL* url) override;
80 #if defined(ENABLE_WEBRTC) 79 #if defined(ENABLE_WEBRTC)
81 void EnableAudioDebugRecordings(const base::FilePath& file) override; 80 void EnableAudioDebugRecordings(const base::FilePath& file) override;
82 void DisableAudioDebugRecordings() override; 81 void DisableAudioDebugRecordings() override;
83 void EnableEventLogRecordings(const base::FilePath& file) override; 82 void EnableEventLogRecordings(const base::FilePath& file) override;
84 void DisableEventLogRecordings() override; 83 void DisableEventLogRecordings() override;
85 void SetWebRtcLogMessageCallback( 84 void SetWebRtcLogMessageCallback(
86 base::Callback<void(const std::string&)> callback) override; 85 base::Callback<void(const std::string&)> callback) override;
87 WebRtcStopRtpDumpCallback StartRtpDump( 86 WebRtcStopRtpDumpCallback StartRtpDump(
88 bool incoming, 87 bool incoming,
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // for deleting all MockRenderProcessHosts that have not deleted by a test in 177 // for deleting all MockRenderProcessHosts that have not deleted by a test in
179 // the destructor and prevent them from being leaked. 178 // the destructor and prevent them from being leaked.
180 mutable ScopedVector<MockRenderProcessHost> processes_; 179 mutable ScopedVector<MockRenderProcessHost> processes_;
181 180
182 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); 181 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory);
183 }; 182 };
184 183
185 } // namespace content 184 } // namespace content
186 185
187 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 186 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698