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

Side by Side Diff: chrome/common/gpu_plugin.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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/common/gpu_plugin.h" 5 #include "chrome/common/gpu_plugin.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/utf_string_conversions.h"
9 #include "chrome/common/chrome_switches.h" 10 #include "chrome/common/chrome_switches.h"
10 #include "gpu/gpu_plugin/gpu_plugin.h" 11 #include "gpu/gpu_plugin/gpu_plugin.h"
11 #include "webkit/glue/plugins/plugin_list.h" 12 #include "webkit/glue/plugins/plugin_list.h"
12 13
13 #if defined(ENABLE_GPU) 14 #if defined(ENABLE_GPU)
14 #include "webkit/glue/plugins/plugin_constants_win.h" 15 #include "webkit/glue/plugins/plugin_constants_win.h"
15 #endif 16 #endif
16 17
17 namespace chrome { 18 namespace chrome {
18 19
(...skipping 16 matching lines...) Expand all
35 gpu_plugin::NP_Shutdown 36 gpu_plugin::NP_Shutdown
36 } 37 }
37 }; 38 };
38 39
39 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableGPUPlugin)) 40 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableGPUPlugin))
40 NPAPI::PluginList::Singleton()->RegisterInternalPlugin(kGPUPluginInfo); 41 NPAPI::PluginList::Singleton()->RegisterInternalPlugin(kGPUPluginInfo);
41 #endif // ENABLE_GPU 42 #endif // ENABLE_GPU
42 } 43 }
43 44
44 } // namespace chrome 45 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_message_bundle_unittest.cc ('k') | chrome/common/metrics_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698