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

Side by Side Diff: chrome/renderer/render_process_impl.cc

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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
« no previous file with comments | « chrome/renderer/pepper_devices_unittest.cc ('k') | chrome/renderer/render_thread.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #include <objidl.h> 9 #include <objidl.h>
10 #include <mlang.h> 10 #include <mlang.h>
11 #endif 11 #endif
12 12
13 #include "chrome/renderer/render_process_impl.h" 13 #include "chrome/renderer/render_process_impl.h"
14 14
15 #include "app/surface/transport_dib.h" 15 #include "app/surface/transport_dib.h"
16 #include "base/basictypes.h" 16 #include "base/basictypes.h"
17 #include "base/command_line.h" 17 #include "base/command_line.h"
18 #include "base/compiler_specific.h" 18 #include "base/compiler_specific.h"
19 #include "base/file_util.h" 19 #include "base/file_util.h"
20 #include "base/message_loop.h" 20 #include "base/message_loop.h"
21 #include "base/histogram.h" 21 #include "base/histogram.h"
22 #include "base/path_service.h" 22 #include "base/path_service.h"
23 #include "base/sys_info.h" 23 #include "base/sys_info.h"
24 #include "base/utf_string_conversions.h"
24 #include "chrome/common/chrome_switches.h" 25 #include "chrome/common/chrome_switches.h"
25 #include "chrome/common/chrome_paths.h" 26 #include "chrome/common/chrome_paths.h"
26 #include "chrome/common/render_messages.h" 27 #include "chrome/common/render_messages.h"
27 #include "chrome/common/nacl_types.h" 28 #include "chrome/common/nacl_types.h"
28 #include "chrome/renderer/render_thread.h" 29 #include "chrome/renderer/render_thread.h"
29 #include "chrome/renderer/render_view.h" 30 #include "chrome/renderer/render_view.h"
30 #include "ipc/ipc_channel.h" 31 #include "ipc/ipc_channel.h"
31 #include "ipc/ipc_message_utils.h" 32 #include "ipc/ipc_message_utils.h"
32 #include "media/base/media.h" 33 #include "media/base/media.h"
33 #include "media/base/media_switches.h" 34 #include "media/base/media_switches.h"
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 } 388 }
388 389
389 void RenderProcessImpl::ClearTransportDIBCache() { 390 void RenderProcessImpl::ClearTransportDIBCache() {
390 for (size_t i = 0; i < arraysize(shared_mem_cache_); ++i) { 391 for (size_t i = 0; i < arraysize(shared_mem_cache_); ++i) {
391 if (shared_mem_cache_[i]) { 392 if (shared_mem_cache_[i]) {
392 FreeTransportDIB(shared_mem_cache_[i]); 393 FreeTransportDIB(shared_mem_cache_[i]);
393 shared_mem_cache_[i] = NULL; 394 shared_mem_cache_[i] = NULL;
394 } 395 }
395 } 396 }
396 } 397 }
OLDNEW
« no previous file with comments | « chrome/renderer/pepper_devices_unittest.cc ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698