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

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

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
« no previous file with comments | « content/public/test/mock_render_process_host.h ('k') | gpu/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "content/public/test/mock_render_process_host.h" 5 #include "content/public/test/mock_render_process_host.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 MockRenderProcessHost::TakeMetricsAllocator() { 271 MockRenderProcessHost::TakeMetricsAllocator() {
272 return nullptr; 272 return nullptr;
273 } 273 }
274 274
275 const base::TimeTicks& MockRenderProcessHost::GetInitTimeForNavigationMetrics() 275 const base::TimeTicks& MockRenderProcessHost::GetInitTimeForNavigationMetrics()
276 const { 276 const {
277 static base::TimeTicks dummy_time = base::TimeTicks::Now(); 277 static base::TimeTicks dummy_time = base::TimeTicks::Now();
278 return dummy_time; 278 return dummy_time;
279 } 279 }
280 280
281 bool MockRenderProcessHost::SubscribeUniformEnabled() const {
282 return false;
283 }
284
285 void MockRenderProcessHost::OnAddSubscription(unsigned int target) {
286 }
287
288 void MockRenderProcessHost::OnRemoveSubscription(unsigned int target) {
289 }
290
291 void MockRenderProcessHost::SendUpdateValueState(
292 unsigned int target, const gpu::ValueState& state) {
293 }
294
295 #if defined(ENABLE_BROWSER_CDMS) 281 #if defined(ENABLE_BROWSER_CDMS)
296 scoped_refptr<media::MediaKeys> MockRenderProcessHost::GetCdm( 282 scoped_refptr<media::MediaKeys> MockRenderProcessHost::GetCdm(
297 int render_frame_id, 283 int render_frame_id,
298 int cdm_id) const { 284 int cdm_id) const {
299 return nullptr; 285 return nullptr;
300 } 286 }
301 #endif 287 #endif
302 288
303 bool MockRenderProcessHost::IsProcessBackgrounded() const { 289 bool MockRenderProcessHost::IsProcessBackgrounded() const {
304 return is_process_backgrounded_; 290 return is_process_backgrounded_;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 for (ScopedVector<MockRenderProcessHost>::iterator it = processes_.begin(); 367 for (ScopedVector<MockRenderProcessHost>::iterator it = processes_.begin();
382 it != processes_.end(); ++it) { 368 it != processes_.end(); ++it) {
383 if (*it == host) { 369 if (*it == host) {
384 processes_.weak_erase(it); 370 processes_.weak_erase(it);
385 break; 371 break;
386 } 372 }
387 } 373 }
388 } 374 }
389 375
390 } // namespace content 376 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/mock_render_process_host.h ('k') | gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698