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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 | 227 |
228 // Name that we give to Chrome file association handler ProgId. | 228 // Name that we give to Chrome file association handler ProgId. |
229 static const wchar_t* kChromeHTMLProgId; | 229 static const wchar_t* kChromeHTMLProgId; |
230 | 230 |
231 // Description of Chrome file association handler ProgId. | 231 // Description of Chrome file association handler ProgId. |
232 static const wchar_t* kChromeHTMLProgIdDesc; | 232 static const wchar_t* kChromeHTMLProgIdDesc; |
233 | 233 |
234 // Registry path that stores url associations on Vista. | 234 // Registry path that stores url associations on Vista. |
235 static const wchar_t* kRegVistaUrlPrefs; | 235 static const wchar_t* kRegVistaUrlPrefs; |
236 | 236 |
237 // File extensions that Chrome registers itself for. | 237 // File extensions that Chrome registers itself as the default handler |
238 static const wchar_t* kFileAssociations[]; | 238 // for when the user makes Chrome the default browser. |
| 239 static const wchar_t* kDefaultFileAssociations[]; |
| 240 |
| 241 // File extensions that Chrome registers itself as being capable of |
| 242 // handling. |
| 243 static const wchar_t* kPotentialFileAssociations[]; |
239 | 244 |
240 // Protocols that Chrome registers itself as the default handler for | 245 // Protocols that Chrome registers itself as the default handler for |
241 // when the user makes Chrome the default browser. | 246 // when the user makes Chrome the default browser. |
242 static const wchar_t* kBrowserProtocolAssociations[]; | 247 static const wchar_t* kBrowserProtocolAssociations[]; |
243 | 248 |
244 // Protocols that Chrome registers itself as being capable of handling. | 249 // Protocols that Chrome registers itself as being capable of handling. |
245 static const wchar_t* kPotentialProtocolAssociations[]; | 250 static const wchar_t* kPotentialProtocolAssociations[]; |
246 | 251 |
247 // Registry value name that is needed for ChromeHTML ProgId | 252 // Registry value name that is needed for ChromeHTML ProgId |
248 static const wchar_t* kRegUrlProtocol; | 253 static const wchar_t* kRegUrlProtocol; |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 // required by the base32 standard for inputs that aren't a multiple of 5 | 560 // required by the base32 standard for inputs that aren't a multiple of 5 |
556 // bytes. | 561 // bytes. |
557 static string16 ByteArrayToBase32(const uint8* bytes, size_t size); | 562 static string16 ByteArrayToBase32(const uint8* bytes, size_t size); |
558 | 563 |
559 private: | 564 private: |
560 DISALLOW_COPY_AND_ASSIGN(ShellUtil); | 565 DISALLOW_COPY_AND_ASSIGN(ShellUtil); |
561 }; | 566 }; |
562 | 567 |
563 | 568 |
564 #endif // CHROME_INSTALLER_UTIL_SHELL_UTIL_H_ | 569 #endif // CHROME_INSTALLER_UTIL_SHELL_UTIL_H_ |
OLD | NEW |