OLD | NEW |
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 // This file declares methods that are useful for integrating Chrome in | 5 // This file declares methods that are useful for integrating Chrome in |
6 // Windows shell. These methods are all static and currently part of | 6 // Windows shell. These methods are all static and currently part of |
7 // ShellUtil class. | 7 // ShellUtil class. |
8 | 8 |
9 #ifndef CHROME_INSTALLER_UTIL_SHELL_UTIL_H_ | 9 #ifndef CHROME_INSTALLER_UTIL_SHELL_UTIL_H_ |
10 #define CHROME_INSTALLER_UTIL_SHELL_UTIL_H_ | 10 #define CHROME_INSTALLER_UTIL_SHELL_UTIL_H_ |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 static const wchar_t* kRegStartMenuInternet; | 226 static const wchar_t* kRegStartMenuInternet; |
227 | 227 |
228 // Relative path of Classes registry entry under which file associations | 228 // Relative path of Classes registry entry under which file associations |
229 // are added on Windows. | 229 // are added on Windows. |
230 static const wchar_t* kRegClasses; | 230 static const wchar_t* kRegClasses; |
231 | 231 |
232 // Relative path of RegisteredApplications registry entry under which | 232 // Relative path of RegisteredApplications registry entry under which |
233 // we add Chrome as a Windows application | 233 // we add Chrome as a Windows application |
234 static const wchar_t* kRegRegisteredApplications; | 234 static const wchar_t* kRegRegisteredApplications; |
235 | 235 |
236 // The key path and key name required to register Chrome on Windows such | |
237 // that it can be launched from Start->Run just by name (chrome.exe). | |
238 static const wchar_t* kAppPathsRegistryKey; | |
239 static const wchar_t* kAppPathsRegistryPathName; | |
240 | |
241 // Registry path that stores url associations on Vista. | 236 // Registry path that stores url associations on Vista. |
242 static const wchar_t* kRegVistaUrlPrefs; | 237 static const wchar_t* kRegVistaUrlPrefs; |
243 | 238 |
244 // File extensions that Chrome registers itself as the default handler | 239 // File extensions that Chrome registers itself as the default handler |
245 // for when the user makes Chrome the default browser. | 240 // for when the user makes Chrome the default browser. |
246 static const wchar_t* kDefaultFileAssociations[]; | 241 static const wchar_t* kDefaultFileAssociations[]; |
247 | 242 |
248 // File extensions that Chrome registers itself as being capable of | 243 // File extensions that Chrome registers itself as being capable of |
249 // handling. | 244 // handling. |
250 static const wchar_t* kPotentialFileAssociations[]; | 245 static const wchar_t* kPotentialFileAssociations[]; |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 // required by the base32 standard for inputs that aren't a multiple of 5 | 594 // required by the base32 standard for inputs that aren't a multiple of 5 |
600 // bytes. | 595 // bytes. |
601 static base::string16 ByteArrayToBase32(const uint8* bytes, size_t size); | 596 static base::string16 ByteArrayToBase32(const uint8* bytes, size_t size); |
602 | 597 |
603 private: | 598 private: |
604 DISALLOW_COPY_AND_ASSIGN(ShellUtil); | 599 DISALLOW_COPY_AND_ASSIGN(ShellUtil); |
605 }; | 600 }; |
606 | 601 |
607 | 602 |
608 #endif // CHROME_INSTALLER_UTIL_SHELL_UTIL_H_ | 603 #endif // CHROME_INSTALLER_UTIL_SHELL_UTIL_H_ |
OLD | NEW |