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

Side by Side Diff: content/renderer/render_thread_impl.cc

Issue 12286020: Replace FilePath with base::FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
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/renderer/render_thread_impl.h" 5 #include "content/renderer/render_thread_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 if (command_line.HasSwitch(switches::kEnableGpuBenchmarking)) 358 if (command_line.HasSwitch(switches::kEnableGpuBenchmarking))
359 RegisterExtension(GpuBenchmarkingExtension::Get()); 359 RegisterExtension(GpuBenchmarkingExtension::Get());
360 360
361 if (command_line.HasSwitch(switches::kEnableMemoryBenchmarking)) 361 if (command_line.HasSwitch(switches::kEnableMemoryBenchmarking))
362 RegisterExtension(MemoryBenchmarkingExtension::Get()); 362 RegisterExtension(MemoryBenchmarkingExtension::Get());
363 363
364 context_lost_cb_.reset(new GpuVDAContextLostCallback()); 364 context_lost_cb_.reset(new GpuVDAContextLostCallback());
365 365
366 // Note that under Linux, the media library will normally already have 366 // Note that under Linux, the media library will normally already have
367 // been initialized by the Zygote before this instance became a Renderer. 367 // been initialized by the Zygote before this instance became a Renderer.
368 FilePath media_path; 368 base::FilePath media_path;
369 PathService::Get(DIR_MEDIA_LIBS, &media_path); 369 PathService::Get(DIR_MEDIA_LIBS, &media_path);
370 if (!media_path.empty()) 370 if (!media_path.empty())
371 media::InitializeMediaLibrary(media_path); 371 media::InitializeMediaLibrary(media_path);
372 372
373 TRACE_EVENT_END_ETW("RenderThreadImpl::Init", 0, ""); 373 TRACE_EVENT_END_ETW("RenderThreadImpl::Init", 0, "");
374 } 374 }
375 375
376 RenderThreadImpl::~RenderThreadImpl() { 376 RenderThreadImpl::~RenderThreadImpl() {
377 FOR_EACH_OBSERVER( 377 FOR_EACH_OBSERVER(
378 RenderProcessObserver, observers_, OnRenderProcessShutdown()); 378 RenderProcessObserver, observers_, OnRenderProcessShutdown());
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
1193 1193
1194 void RenderThreadImpl::SetFlingCurveParameters( 1194 void RenderThreadImpl::SetFlingCurveParameters(
1195 const std::vector<float>& new_touchpad, 1195 const std::vector<float>& new_touchpad,
1196 const std::vector<float>& new_touchscreen) { 1196 const std::vector<float>& new_touchscreen) {
1197 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, 1197 webkit_platform_support_->SetFlingCurveParameters(new_touchpad,
1198 new_touchscreen); 1198 new_touchscreen);
1199 1199
1200 } 1200 }
1201 1201
1202 } // namespace content 1202 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/renderer_ppapi_host_impl.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698