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

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

Issue 697203006: Update the ICU's default timezone in render (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add logs Created 5 years, 8 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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 void EnableAecDump(const base::FilePath& file) override; 73 void EnableAecDump(const base::FilePath& file) override;
74 void DisableAecDump() override; 74 void DisableAecDump() override;
75 void SetWebRtcLogMessageCallback( 75 void SetWebRtcLogMessageCallback(
76 base::Callback<void(const std::string&)> callback) override; 76 base::Callback<void(const std::string&)> callback) override;
77 WebRtcStopRtpDumpCallback StartRtpDump( 77 WebRtcStopRtpDumpCallback StartRtpDump(
78 bool incoming, 78 bool incoming,
79 bool outgoing, 79 bool outgoing,
80 const WebRtcRtpPacketCallback& packet_callback) override; 80 const WebRtcRtpPacketCallback& packet_callback) override;
81 #endif 81 #endif
82 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override; 82 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override;
83 void NotifyTimezoneChange() override; 83 void NotifyTimezoneChange(const std::string& zone_id) override;
84 ServiceRegistry* GetServiceRegistry() override; 84 ServiceRegistry* GetServiceRegistry() override;
85 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override; 85 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override;
86 bool SubscribeUniformEnabled() const override; 86 bool SubscribeUniformEnabled() const override;
87 void OnAddSubscription(unsigned int target) override; 87 void OnAddSubscription(unsigned int target) override;
88 void OnRemoveSubscription(unsigned int target) override; 88 void OnRemoveSubscription(unsigned int target) override;
89 void SendUpdateValueState( 89 void SendUpdateValueState(
90 unsigned int target, const gpu::ValueState& state) override; 90 unsigned int target, const gpu::ValueState& state) override;
91 #if defined(ENABLE_BROWSER_CDMS) 91 #if defined(ENABLE_BROWSER_CDMS)
92 media::BrowserCdm* GetBrowserCdm(int render_frame_id, 92 media::BrowserCdm* GetBrowserCdm(int render_frame_id,
93 int cdm_id) const override; 93 int cdm_id) const override;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 // for deleting all MockRenderProcessHosts that have not deleted by a test in 156 // for deleting all MockRenderProcessHosts that have not deleted by a test in
157 // the destructor and prevent them from being leaked. 157 // the destructor and prevent them from being leaked.
158 mutable ScopedVector<MockRenderProcessHost> processes_; 158 mutable ScopedVector<MockRenderProcessHost> processes_;
159 159
160 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); 160 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory);
161 }; 161 };
162 162
163 } // namespace content 163 } // namespace content
164 164
165 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 165 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698