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

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

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
« no previous file with comments | « content/public/test/mock_render_process_host.h ('k') | content/renderer/render_thread_impl.h » ('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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 return false; 237 return false;
238 } 238 }
239 239
240 base::TimeDelta MockRenderProcessHost::GetChildProcessIdleTime() const { 240 base::TimeDelta MockRenderProcessHost::GetChildProcessIdleTime() const {
241 return base::TimeDelta::FromMilliseconds(0); 241 return base::TimeDelta::FromMilliseconds(0);
242 } 242 }
243 243
244 void MockRenderProcessHost::ResumeRequestsForView(int route_id) { 244 void MockRenderProcessHost::ResumeRequestsForView(int route_id) {
245 } 245 }
246 246
247 void MockRenderProcessHost::NotifyTimezoneChange() { 247 void MockRenderProcessHost::NotifyTimezoneChange(const std::string& zone_id) {
248 } 248 }
249 249
250 ServiceRegistry* MockRenderProcessHost::GetServiceRegistry() { 250 ServiceRegistry* MockRenderProcessHost::GetServiceRegistry() {
251 return NULL; 251 return NULL;
252 } 252 }
253 253
254 const base::TimeTicks& MockRenderProcessHost::GetInitTimeForNavigationMetrics() 254 const base::TimeTicks& MockRenderProcessHost::GetInitTimeForNavigationMetrics()
255 const { 255 const {
256 static base::TimeTicks dummy_time = base::TimeTicks::Now(); 256 static base::TimeTicks dummy_time = base::TimeTicks::Now();
257 return dummy_time; 257 return dummy_time;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 for (ScopedVector<MockRenderProcessHost>::iterator it = processes_.begin(); 341 for (ScopedVector<MockRenderProcessHost>::iterator it = processes_.begin();
342 it != processes_.end(); ++it) { 342 it != processes_.end(); ++it) {
343 if (*it == host) { 343 if (*it == host) {
344 processes_.weak_erase(it); 344 processes_.weak_erase(it);
345 break; 345 break;
346 } 346 }
347 } 347 }
348 } 348 }
349 349
350 } // content 350 } // content
OLDNEW
« no previous file with comments | « content/public/test/mock_render_process_host.h ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698