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

Side by Side Diff: chrome/common/chrome_constants.cc

Issue 2751123003: Shorten SingletonSocket filename, makes socket length limit harder to hit. (Closed)
Patch Set: Created 3 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
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 "chrome/common/chrome_constants.h" 5 #include "chrome/common/chrome_constants.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "chrome/common/chrome_version.h" 8 #include "chrome/common/chrome_version.h"
9 9
10 #define FPL FILE_PATH_LITERAL 10 #define FPL FILE_PATH_LITERAL
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 FPL("Protected Preferences"); 164 FPL("Protected Preferences");
165 const base::FilePath::CharType kReadmeFilename[] = FPL("README"); 165 const base::FilePath::CharType kReadmeFilename[] = FPL("README");
166 const base::FilePath::CharType kSecurePreferencesFilename[] = 166 const base::FilePath::CharType kSecurePreferencesFilename[] =
167 FPL("Secure Preferences"); 167 FPL("Secure Preferences");
168 const base::FilePath::CharType kServiceStateFileName[] = FPL("Service State"); 168 const base::FilePath::CharType kServiceStateFileName[] = FPL("Service State");
169 const base::FilePath::CharType kSingletonCookieFilename[] = 169 const base::FilePath::CharType kSingletonCookieFilename[] =
170 FPL("SingletonCookie"); 170 FPL("SingletonCookie");
171 const base::FilePath::CharType kSingletonLockFilename[] = FPL("SingletonLock"); 171 const base::FilePath::CharType kSingletonLockFilename[] = FPL("SingletonLock");
172 const base::FilePath::CharType kSingletonSocketFilename[] = 172 const base::FilePath::CharType kSingletonSocketFilename[] =
173 FPL("SingletonSocket"); 173 FPL("SingletonSocket");
174 const base::FilePath::CharType kSingletonSocketRealFilename[] = FPL("S");
174 const base::FilePath::CharType kSupervisedUserSettingsFilename[] = 175 const base::FilePath::CharType kSupervisedUserSettingsFilename[] =
175 FPL("Managed Mode Settings"); 176 FPL("Managed Mode Settings");
176 const base::FilePath::CharType kThemePackFilename[] = FPL("Cached Theme.pak"); 177 const base::FilePath::CharType kThemePackFilename[] = FPL("Cached Theme.pak");
177 const base::FilePath::CharType kWebAppDirname[] = FPL("Web Applications"); 178 const base::FilePath::CharType kWebAppDirname[] = FPL("Web Applications");
178 179
179 #if defined(OS_WIN) 180 #if defined(OS_WIN)
180 const base::FilePath::CharType kJumpListIconDirname[] = FPL("JumpListIcons"); 181 const base::FilePath::CharType kJumpListIconDirname[] = FPL("JumpListIcons");
181 #endif 182 #endif
182 183
183 // File name of the Pepper Flash plugin on different platforms. 184 // File name of the Pepper Flash plugin on different platforms.
(...skipping 28 matching lines...) Expand all
212 // user can select for different file types. 213 // user can select for different file types.
213 // {2676A9A2-D919-4FEE-9187-152100393AB2} 214 // {2676A9A2-D919-4FEE-9187-152100393AB2}
214 const char kApplicationClientIDStringForAVScanning[] = 215 const char kApplicationClientIDStringForAVScanning[] =
215 "2676A9A2-D919-4FEE-9187-152100393AB2"; 216 "2676A9A2-D919-4FEE-9187-152100393AB2";
216 217
217 const size_t kMaxMetaTagAttributeLength = 2000; 218 const size_t kMaxMetaTagAttributeLength = 2000;
218 219
219 } // namespace chrome 220 } // namespace chrome
220 221
221 #undef FPL 222 #undef FPL
OLDNEW
« chrome/browser/process_singleton_posix.cc ('K') | « chrome/common/chrome_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698