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

Side by Side Diff: content/public/common/content_switches.cc

Issue 200473002: Move all callers of GetHomeDir() to PathService::Get(base::DIR_HOME). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 6 years, 9 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/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after
1031 #if defined(OS_ANDROID) && defined(ARCH_CPU_X86) 1031 #if defined(OS_ANDROID) && defined(ARCH_CPU_X86)
1032 const char kEnableWebAudio[] = "enable-webaudio"; 1032 const char kEnableWebAudio[] = "enable-webaudio";
1033 #else 1033 #else
1034 // Disable web audio API. 1034 // Disable web audio API.
1035 const char kDisableWebAudio[] = "disable-webaudio"; 1035 const char kDisableWebAudio[] = "disable-webaudio";
1036 #endif 1036 #endif
1037 1037
1038 #if defined(OS_CHROMEOS) 1038 #if defined(OS_CHROMEOS)
1039 // Disables panel fitting (used for mirror mode). 1039 // Disables panel fitting (used for mirror mode).
1040 const char kDisablePanelFitting[] = "disable-panel-fitting"; 1040 const char kDisablePanelFitting[] = "disable-panel-fitting";
1041
1042 // Defines user homedir. This defaults to primary user homedir.
1043 const char kHomedir[] = "homedir";
1041 #endif 1044 #endif
1042 1045
1043 #if defined(OS_MACOSX) && !defined(OS_IOS) 1046 #if defined(OS_MACOSX) && !defined(OS_IOS)
1044 const char kEnableCarbonInterposing[] = "enable-carbon-interposing"; 1047 const char kEnableCarbonInterposing[] = "enable-carbon-interposing";
1045 1048
1046 // Disables support for Core Animation plugins. This is triggered when 1049 // Disables support for Core Animation plugins. This is triggered when
1047 // accelerated compositing is disabled. See http://crbug.com/122430 . 1050 // accelerated compositing is disabled. See http://crbug.com/122430 .
1048 const char kDisableCoreAnimationPlugins[] = 1051 const char kDisableCoreAnimationPlugins[] =
1049 "disable-core-animation-plugins"; 1052 "disable-core-animation-plugins";
1050 #endif 1053 #endif
1051 1054
1052 #if defined(OS_POSIX) 1055 #if defined(OS_POSIX)
1053 // Causes the child processes to cleanly exit via calling exit(). 1056 // Causes the child processes to cleanly exit via calling exit().
1054 const char kChildCleanExit[] = "child-clean-exit"; 1057 const char kChildCleanExit[] = "child-clean-exit";
1055 #endif 1058 #endif
1056 1059
1057 // Don't dump stuff here, follow the same order as the header. 1060 // Don't dump stuff here, follow the same order as the header.
1058 1061
1059 } // namespace switches 1062 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698