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

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

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | content/renderer/render_view_browsertest.cc » ('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/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 982 matching lines...) Expand 10 before | Expand all | Expand 10 after
993 audio_hardware_config_.reset(new media::AudioHardwareConfig( 993 audio_hardware_config_.reset(new media::AudioHardwareConfig(
994 input_params, output_params)); 994 input_params, output_params));
995 audio_message_filter_->SetAudioHardwareConfig(audio_hardware_config_.get()); 995 audio_message_filter_->SetAudioHardwareConfig(audio_hardware_config_.get());
996 } 996 }
997 997
998 return audio_hardware_config_.get(); 998 return audio_hardware_config_.get();
999 } 999 }
1000 1000
1001 #if defined(OS_WIN) 1001 #if defined(OS_WIN)
1002 void RenderThreadImpl::PreCacheFontCharacters(const LOGFONT& log_font, 1002 void RenderThreadImpl::PreCacheFontCharacters(const LOGFONT& log_font,
1003 const string16& str) { 1003 const base::string16& str) {
1004 Send(new ViewHostMsg_PreCacheFontCharacters(log_font, str)); 1004 Send(new ViewHostMsg_PreCacheFontCharacters(log_font, str));
1005 } 1005 }
1006 1006
1007 void RenderThreadImpl::PreCacheFont(const LOGFONT& log_font) { 1007 void RenderThreadImpl::PreCacheFont(const LOGFONT& log_font) {
1008 Send(new ChildProcessHostMsg_PreCacheFont(log_font)); 1008 Send(new ChildProcessHostMsg_PreCacheFont(log_font));
1009 } 1009 }
1010 1010
1011 void RenderThreadImpl::ReleaseCachedFonts() { 1011 void RenderThreadImpl::ReleaseCachedFonts() {
1012 Send(new ChildProcessHostMsg_ReleaseCachedFonts()); 1012 Send(new ChildProcessHostMsg_ReleaseCachedFonts());
1013 } 1013 }
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
1370 if (!gamepad_shared_memory_reader_) 1370 if (!gamepad_shared_memory_reader_)
1371 gamepad_shared_memory_reader_.reset(new GamepadSharedMemoryReader); 1371 gamepad_shared_memory_reader_.reset(new GamepadSharedMemoryReader);
1372 gamepad_shared_memory_reader_->SampleGamepads(*data); 1372 gamepad_shared_memory_reader_->SampleGamepads(*data);
1373 } 1373 }
1374 1374
1375 base::ProcessId RenderThreadImpl::renderer_process_id() const { 1375 base::ProcessId RenderThreadImpl::renderer_process_id() const {
1376 return renderer_process_id_; 1376 return renderer_process_id_;
1377 } 1377 }
1378 1378
1379 } // namespace content 1379 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698