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

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

Issue 2304073003: Mojoify time zone update IPC from browser to renderer (Closed)
Patch Set: Rebase Created 4 years, 3 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 <memory> 10 #include <memory>
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 bool StopWebRTCEventLog() override; 86 bool StopWebRTCEventLog() override;
87 void SetWebRtcLogMessageCallback( 87 void SetWebRtcLogMessageCallback(
88 base::Callback<void(const std::string&)> callback) override; 88 base::Callback<void(const std::string&)> callback) override;
89 void ClearWebRtcLogMessageCallback() override; 89 void ClearWebRtcLogMessageCallback() override;
90 WebRtcStopRtpDumpCallback StartRtpDump( 90 WebRtcStopRtpDumpCallback StartRtpDump(
91 bool incoming, 91 bool incoming,
92 bool outgoing, 92 bool outgoing,
93 const WebRtcRtpPacketCallback& packet_callback) override; 93 const WebRtcRtpPacketCallback& packet_callback) override;
94 #endif 94 #endif
95 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override; 95 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override;
96 void NotifyTimezoneChange(const std::string& zone_id) override;
97 shell::InterfaceProvider* GetRemoteInterfaces() override; 96 shell::InterfaceProvider* GetRemoteInterfaces() override;
98 std::unique_ptr<base::SharedPersistentMemoryAllocator> TakeMetricsAllocator() 97 std::unique_ptr<base::SharedPersistentMemoryAllocator> TakeMetricsAllocator()
99 override; 98 override;
100 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override; 99 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override;
101 #if defined(ENABLE_BROWSER_CDMS) 100 #if defined(ENABLE_BROWSER_CDMS)
102 scoped_refptr<media::MediaKeys> GetCdm(int render_frame_id, 101 scoped_refptr<media::MediaKeys> GetCdm(int render_frame_id,
103 int cdm_id) const override; 102 int cdm_id) const override;
104 #endif 103 #endif
105 bool IsProcessBackgrounded() const override; 104 bool IsProcessBackgrounded() const override;
106 void IncrementServiceWorkerRefCount() override; 105 void IncrementServiceWorkerRefCount() override;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 // for deleting all MockRenderProcessHosts that have not deleted by a test in 186 // for deleting all MockRenderProcessHosts that have not deleted by a test in
188 // the destructor and prevent them from being leaked. 187 // the destructor and prevent them from being leaked.
189 mutable ScopedVector<MockRenderProcessHost> processes_; 188 mutable ScopedVector<MockRenderProcessHost> processes_;
190 189
191 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); 190 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory);
192 }; 191 };
193 192
194 } // namespace content 193 } // namespace content
195 194
196 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 195 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_process_host.h ('k') | content/public/test/mock_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698