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

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

Issue 2838034: Move the SingletonSocket to a temporary directory (Closed)
Patch Set: Address mattm's comments 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "base/file_path.h" 7 #include "base/file_path.h"
8 8
9 #define FPL FILE_PATH_LITERAL 9 #define FPL FILE_PATH_LITERAL
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 const FilePath::CharType kAppCacheDirname[] = FPL("Application Cache"); 83 const FilePath::CharType kAppCacheDirname[] = FPL("Application Cache");
84 const FilePath::CharType kChromePluginDataDirname[] = FPL("Plugin Data"); 84 const FilePath::CharType kChromePluginDataDirname[] = FPL("Plugin Data");
85 const FilePath::CharType kThemePackFilename[] = FPL("Cached Theme.pak"); 85 const FilePath::CharType kThemePackFilename[] = FPL("Cached Theme.pak");
86 const FilePath::CharType kCookieFilename[] = FPL("Cookies"); 86 const FilePath::CharType kCookieFilename[] = FPL("Cookies");
87 const FilePath::CharType kExtensionsCookieFilename[] = FPL("Extension Cookies"); 87 const FilePath::CharType kExtensionsCookieFilename[] = FPL("Extension Cookies");
88 const FilePath::CharType kFaviconsFilename[] = FPL("Favicons"); 88 const FilePath::CharType kFaviconsFilename[] = FPL("Favicons");
89 const FilePath::CharType kHistoryFilename[] = FPL("History"); 89 const FilePath::CharType kHistoryFilename[] = FPL("History");
90 const FilePath::CharType kLocalStateFilename[] = FPL("Local State"); 90 const FilePath::CharType kLocalStateFilename[] = FPL("Local State");
91 const FilePath::CharType kPreferencesFilename[] = FPL("Preferences"); 91 const FilePath::CharType kPreferencesFilename[] = FPL("Preferences");
92 const FilePath::CharType kSafeBrowsingFilename[] = FPL("Safe Browsing Bloom"); 92 const FilePath::CharType kSafeBrowsingFilename[] = FPL("Safe Browsing Bloom");
93 // WARNING: SingletonSocket can't contain spaces, because otherwise 93 const FilePath::CharType kSingletonCookieFilename[] = FPL("SingletonCookie");
94 // chrome_process_util_linux would be broken.
95 const FilePath::CharType kSingletonSocketFilename[] = FPL("SingletonSocket"); 94 const FilePath::CharType kSingletonSocketFilename[] = FPL("SingletonSocket");
96 const FilePath::CharType kSingletonLockFilename[] = FPL("SingletonLock"); 95 const FilePath::CharType kSingletonLockFilename[] = FPL("SingletonLock");
97 const FilePath::CharType kThumbnailsFilename[] = FPL("Thumbnails"); 96 const FilePath::CharType kThumbnailsFilename[] = FPL("Thumbnails");
98 const FilePath::CharType kNewTabThumbnailsFilename[] = FPL("Top Thumbnails"); 97 const FilePath::CharType kNewTabThumbnailsFilename[] = FPL("Top Thumbnails");
99 const FilePath::CharType kTopSitesFilename[] = FPL("Top Sites"); 98 const FilePath::CharType kTopSitesFilename[] = FPL("Top Sites");
100 const wchar_t kUserDataDirname[] = L"User Data"; 99 const wchar_t kUserDataDirname[] = L"User Data";
101 const FilePath::CharType kUserScriptsDirname[] = FPL("User Scripts"); 100 const FilePath::CharType kUserScriptsDirname[] = FPL("User Scripts");
102 const FilePath::CharType kWebDataFilename[] = FPL("Web Data"); 101 const FilePath::CharType kWebDataFilename[] = FPL("Web Data");
103 const FilePath::CharType kBookmarksFileName[] = FPL("Bookmarks"); 102 const FilePath::CharType kBookmarksFileName[] = FPL("Bookmarks");
104 const FilePath::CharType kHistoryBookmarksFileName[] = 103 const FilePath::CharType kHistoryBookmarksFileName[] =
(...skipping 28 matching lines...) Expand all
133 132
134 const int kMaxSessionHistoryEntries = 50; 133 const int kMaxSessionHistoryEntries = 50;
135 134
136 const wchar_t kChromiumRendererIdProperty[] = L"ChromiumRendererId"; 135 const wchar_t kChromiumRendererIdProperty[] = L"ChromiumRendererId";
137 136
138 const char* const kUnknownLanguageCode = "und"; 137 const char* const kUnknownLanguageCode = "und";
139 138
140 } // namespace chrome 139 } // namespace chrome
141 140
142 #undef FPL 141 #undef FPL
OLDNEW
« chrome/browser/process_singleton.h ('K') | « chrome/common/chrome_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698