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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 #include "gpu/command_buffer/service/gpu_switches.h" 148 #include "gpu/command_buffer/service/gpu_switches.h"
149 #include "ipc/ipc_channel.h" 149 #include "ipc/ipc_channel.h"
150 #include "ipc/ipc_logging.h" 150 #include "ipc/ipc_logging.h"
151 #include "ipc/ipc_switches.h" 151 #include "ipc/ipc_switches.h"
152 #include "ipc/mojo/ipc_channel_mojo.h" 152 #include "ipc/mojo/ipc_channel_mojo.h"
153 #include "ipc/mojo/ipc_channel_mojo_host.h" 153 #include "ipc/mojo/ipc_channel_mojo_host.h"
154 #include "media/base/media_switches.h" 154 #include "media/base/media_switches.h"
155 #include "net/url_request/url_request_context_getter.h" 155 #include "net/url_request/url_request_context_getter.h"
156 #include "ppapi/shared_impl/ppapi_switches.h" 156 #include "ppapi/shared_impl/ppapi_switches.h"
157 #include "storage/browser/fileapi/sandbox_file_system_backend.h" 157 #include "storage/browser/fileapi/sandbox_file_system_backend.h"
158 #include "third_party/icu/source/common/unicode/unistr.h"
159 #include "third_party/icu/source/i18n/unicode/timezone.h"
158 #include "third_party/skia/include/core/SkBitmap.h" 160 #include "third_party/skia/include/core/SkBitmap.h"
159 #include "ui/base/ui_base_switches.h" 161 #include "ui/base/ui_base_switches.h"
160 #include "ui/events/event_switches.h" 162 #include "ui/events/event_switches.h"
161 #include "ui/gfx/switches.h" 163 #include "ui/gfx/switches.h"
162 #include "ui/gl/gl_switches.h" 164 #include "ui/gl/gl_switches.h"
163 #include "ui/gl/gpu_switching_manager.h" 165 #include "ui/gl/gpu_switching_manager.h"
164 #include "ui/native_theme/native_theme_switches.h" 166 #include "ui/native_theme/native_theme_switches.h"
165 167
166 #if defined(OS_ANDROID) 168 #if defined(OS_ANDROID)
167 #include "content/browser/android/child_process_launcher_android.h" 169 #include "content/browser/android/child_process_launcher_android.h"
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 void RenderProcessHostImpl::ResumeDeferredNavigation( 947 void RenderProcessHostImpl::ResumeDeferredNavigation(
946 const GlobalRequestID& request_id) { 948 const GlobalRequestID& request_id) {
947 widget_helper_->ResumeDeferredNavigation(request_id); 949 widget_helper_->ResumeDeferredNavigation(request_id);
948 } 950 }
949 951
950 void RenderProcessHostImpl::ResumeResponseDeferredAtStart( 952 void RenderProcessHostImpl::ResumeResponseDeferredAtStart(
951 const GlobalRequestID& request_id) { 953 const GlobalRequestID& request_id) {
952 widget_helper_->ResumeResponseDeferredAtStart(request_id); 954 widget_helper_->ResumeResponseDeferredAtStart(request_id);
953 } 955 }
954 956
955 void RenderProcessHostImpl::NotifyTimezoneChange() { 957 void RenderProcessHostImpl::NotifyTimezoneChange(const std::string& zone_id) {
956 Send(new ViewMsg_TimezoneChange()); 958 Send(new ViewMsg_TimezoneChange(zone_id));
957 } 959 }
958 960
959 ServiceRegistry* RenderProcessHostImpl::GetServiceRegistry() { 961 ServiceRegistry* RenderProcessHostImpl::GetServiceRegistry() {
960 DCHECK(mojo_application_host_); 962 DCHECK(mojo_application_host_);
961 return mojo_application_host_->service_registry(); 963 return mojo_application_host_->service_registry();
962 } 964 }
963 965
964 const base::TimeTicks& RenderProcessHostImpl::GetInitTimeForNavigationMetrics() 966 const base::TimeTicks& RenderProcessHostImpl::GetInitTimeForNavigationMetrics()
965 const { 967 const {
966 return init_time_; 968 return init_time_;
(...skipping 1495 matching lines...) Expand 10 before | Expand all | Expand 10 after
2462 if (worker_ref_count_ == 0) 2464 if (worker_ref_count_ == 0)
2463 Cleanup(); 2465 Cleanup();
2464 } 2466 }
2465 2467
2466 void RenderProcessHostImpl::GetAudioOutputControllers( 2468 void RenderProcessHostImpl::GetAudioOutputControllers(
2467 const GetAudioOutputControllersCallback& callback) const { 2469 const GetAudioOutputControllersCallback& callback) const {
2468 audio_renderer_host()->GetOutputControllers(callback); 2470 audio_renderer_host()->GetOutputControllers(callback);
2469 } 2471 }
2470 2472
2471 } // namespace content 2473 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698