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

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: rebase Created 5 years, 7 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 void EnableAecDump(const base::FilePath& file) override; 76 void EnableAecDump(const base::FilePath& file) override;
77 void DisableAecDump() override; 77 void DisableAecDump() override;
78 void SetWebRtcLogMessageCallback( 78 void SetWebRtcLogMessageCallback(
79 base::Callback<void(const std::string&)> callback) override; 79 base::Callback<void(const std::string&)> callback) override;
80 WebRtcStopRtpDumpCallback StartRtpDump( 80 WebRtcStopRtpDumpCallback StartRtpDump(
81 bool incoming, 81 bool incoming,
82 bool outgoing, 82 bool outgoing,
83 const WebRtcRtpPacketCallback& packet_callback) override; 83 const WebRtcRtpPacketCallback& packet_callback) override;
84 #endif 84 #endif
85 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override; 85 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override;
86 void NotifyTimezoneChange() override; 86 void NotifyTimezoneChange(const std::string& zone_id) override;
87 ServiceRegistry* GetServiceRegistry() override; 87 ServiceRegistry* GetServiceRegistry() override;
88 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override; 88 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override;
89 bool SubscribeUniformEnabled() const override; 89 bool SubscribeUniformEnabled() const override;
90 void OnAddSubscription(unsigned int target) override; 90 void OnAddSubscription(unsigned int target) override;
91 void OnRemoveSubscription(unsigned int target) override; 91 void OnRemoveSubscription(unsigned int target) override;
92 void SendUpdateValueState( 92 void SendUpdateValueState(
93 unsigned int target, const gpu::ValueState& state) override; 93 unsigned int target, const gpu::ValueState& state) override;
94 #if defined(ENABLE_BROWSER_CDMS) 94 #if defined(ENABLE_BROWSER_CDMS)
95 media::BrowserCdm* GetBrowserCdm(int render_frame_id, 95 media::BrowserCdm* GetBrowserCdm(int render_frame_id,
96 int cdm_id) const override; 96 int cdm_id) const override;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 // for deleting all MockRenderProcessHosts that have not deleted by a test in 159 // for deleting all MockRenderProcessHosts that have not deleted by a test in
160 // the destructor and prevent them from being leaked. 160 // the destructor and prevent them from being leaked.
161 mutable ScopedVector<MockRenderProcessHost> processes_; 161 mutable ScopedVector<MockRenderProcessHost> processes_;
162 162
163 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); 163 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory);
164 }; 164 };
165 165
166 } // namespace content 166 } // namespace content
167 167
168 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 168 #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