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

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

Issue 1894313002: Removed implementation of CHROMIUM_subscribe_uniform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed a couple more mus/ references Created 4 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <utility> 10 #include <utility>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 bool outgoing, 91 bool outgoing,
92 const WebRtcRtpPacketCallback& packet_callback) override; 92 const WebRtcRtpPacketCallback& packet_callback) override;
93 #endif 93 #endif
94 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override; 94 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override;
95 void NotifyTimezoneChange(const std::string& zone_id) override; 95 void NotifyTimezoneChange(const std::string& zone_id) override;
96 ServiceRegistry* GetServiceRegistry() override; 96 ServiceRegistry* GetServiceRegistry() override;
97 shell::Connection* GetChildConnection() override; 97 shell::Connection* GetChildConnection() override;
98 std::unique_ptr<base::SharedPersistentMemoryAllocator> TakeMetricsAllocator() 98 std::unique_ptr<base::SharedPersistentMemoryAllocator> TakeMetricsAllocator()
99 override; 99 override;
100 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override; 100 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override;
101 bool SubscribeUniformEnabled() const override;
102 void OnAddSubscription(unsigned int target) override;
103 void OnRemoveSubscription(unsigned int target) override;
104 void SendUpdateValueState(
105 unsigned int target, const gpu::ValueState& state) override;
106 #if defined(ENABLE_BROWSER_CDMS) 101 #if defined(ENABLE_BROWSER_CDMS)
107 scoped_refptr<media::MediaKeys> GetCdm(int render_frame_id, 102 scoped_refptr<media::MediaKeys> GetCdm(int render_frame_id,
108 int cdm_id) const override; 103 int cdm_id) const override;
109 #endif 104 #endif
110 bool IsProcessBackgrounded() const override; 105 bool IsProcessBackgrounded() const override;
111 void IncrementWorkerRefCount() override; 106 void IncrementWorkerRefCount() override;
112 void DecrementWorkerRefCount() override; 107 void DecrementWorkerRefCount() override;
113 108
114 // IPC::Sender via RenderProcessHost. 109 // IPC::Sender via RenderProcessHost.
115 bool Send(IPC::Message* msg) override; 110 bool Send(IPC::Message* msg) override;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // 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
189 // the destructor and prevent them from being leaked. 184 // the destructor and prevent them from being leaked.
190 mutable ScopedVector<MockRenderProcessHost> processes_; 185 mutable ScopedVector<MockRenderProcessHost> processes_;
191 186
192 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); 187 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory);
193 }; 188 };
194 189
195 } // namespace content 190 } // namespace content
196 191
197 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 192 #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