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

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: nasko nit Created 4 years, 10 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 void AddPendingView() override; 69 void AddPendingView() override;
70 void RemovePendingView() override; 70 void RemovePendingView() override;
71 void SetSuddenTerminationAllowed(bool allowed) override; 71 void SetSuddenTerminationAllowed(bool allowed) override;
72 bool SuddenTerminationAllowed() const override; 72 bool SuddenTerminationAllowed() const override;
73 BrowserContext* GetBrowserContext() const override; 73 BrowserContext* GetBrowserContext() const override;
74 bool InSameStoragePartition(StoragePartition* partition) const override; 74 bool InSameStoragePartition(StoragePartition* partition) const override;
75 IPC::ChannelProxy* GetChannel() override; 75 IPC::ChannelProxy* GetChannel() override;
76 void AddFilter(BrowserMessageFilter* filter) override; 76 void AddFilter(BrowserMessageFilter* filter) override;
77 bool FastShutdownForPageCount(size_t count) override; 77 bool FastShutdownForPageCount(size_t count) override;
78 base::TimeDelta GetChildProcessIdleTime() const override; 78 base::TimeDelta GetChildProcessIdleTime() const override;
79 void ResumeRequestsForView(int route_id) override;
80 void FilterURL(bool empty_allowed, GURL* url) override; 79 void FilterURL(bool empty_allowed, GURL* url) override;
81 #if defined(ENABLE_WEBRTC) 80 #if defined(ENABLE_WEBRTC)
82 void EnableAudioDebugRecordings(const base::FilePath& file) override; 81 void EnableAudioDebugRecordings(const base::FilePath& file) override;
83 void DisableAudioDebugRecordings() override; 82 void DisableAudioDebugRecordings() override;
84 void EnableEventLogRecordings(const base::FilePath& file) override; 83 void EnableEventLogRecordings(const base::FilePath& file) override;
85 void DisableEventLogRecordings() override; 84 void DisableEventLogRecordings() override;
86 void SetWebRtcLogMessageCallback( 85 void SetWebRtcLogMessageCallback(
87 base::Callback<void(const std::string&)> callback) override; 86 base::Callback<void(const std::string&)> callback) override;
88 WebRtcStopRtpDumpCallback StartRtpDump( 87 WebRtcStopRtpDumpCallback StartRtpDump(
89 bool incoming, 88 bool incoming,
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // for deleting all MockRenderProcessHosts that have not deleted by a test in 183 // for deleting all MockRenderProcessHosts that have not deleted by a test in
185 // the destructor and prevent them from being leaked. 184 // the destructor and prevent them from being leaked.
186 mutable ScopedVector<MockRenderProcessHost> processes_; 185 mutable ScopedVector<MockRenderProcessHost> processes_;
187 186
188 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); 187 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory);
189 }; 188 };
190 189
191 } // namespace content 190 } // namespace content
192 191
193 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 192 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698