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

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: 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 #include "content/public/test/mock_render_process_host.h" 5 #include "content/public/test/mock_render_process_host.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/process/process_handle.h" 9 #include "base/process/process_handle.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 return false; 202 return false;
203 } 203 }
204 204
205 base::TimeDelta MockRenderProcessHost::GetChildProcessIdleTime() const { 205 base::TimeDelta MockRenderProcessHost::GetChildProcessIdleTime() const {
206 return base::TimeDelta::FromMilliseconds(0); 206 return base::TimeDelta::FromMilliseconds(0);
207 } 207 }
208 208
209 void MockRenderProcessHost::ResumeRequestsForView(int route_id) { 209 void MockRenderProcessHost::ResumeRequestsForView(int route_id) {
210 } 210 }
211 211
212 void MockRenderProcessHost::NotifyTimezoneChange() { 212 void MockRenderProcessHost::NotifyTimezoneChange(const std::string& zone_id) {
213 } 213 }
214 214
215 ServiceRegistry* MockRenderProcessHost::GetServiceRegistry() { 215 ServiceRegistry* MockRenderProcessHost::GetServiceRegistry() {
216 return NULL; 216 return NULL;
217 } 217 }
218 218
219 const base::TimeTicks& MockRenderProcessHost::GetInitTimeForNavigationMetrics() 219 const base::TimeTicks& MockRenderProcessHost::GetInitTimeForNavigationMetrics()
220 const { 220 const {
221 static base::TimeTicks dummy_time = base::TimeTicks::Now(); 221 static base::TimeTicks dummy_time = base::TimeTicks::Now();
222 return dummy_time; 222 return dummy_time;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 for (ScopedVector<MockRenderProcessHost>::iterator it = processes_.begin(); 306 for (ScopedVector<MockRenderProcessHost>::iterator it = processes_.begin();
307 it != processes_.end(); ++it) { 307 it != processes_.end(); ++it) {
308 if (*it == host) { 308 if (*it == host) {
309 processes_.weak_erase(it); 309 processes_.weak_erase(it);
310 break; 310 break;
311 } 311 }
312 } 312 }
313 } 313 }
314 314
315 } // content 315 } // content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698