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

Side by Side Diff: chrome/installer/util/shell_util.h

Issue 23258005: Give SxS distribution its own registration GUIDs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move typedef Created 7 years, 3 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 // 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 221
222 // Relative path of RegisteredApplications registry entry under which 222 // Relative path of RegisteredApplications registry entry under which
223 // we add Chrome as a Windows application 223 // we add Chrome as a Windows application
224 static const wchar_t* kRegRegisteredApplications; 224 static const wchar_t* kRegRegisteredApplications;
225 225
226 // The key path and key name required to register Chrome on Windows such 226 // The key path and key name required to register Chrome on Windows such
227 // that it can be launched from Start->Run just by name (chrome.exe). 227 // that it can be launched from Start->Run just by name (chrome.exe).
228 static const wchar_t* kAppPathsRegistryKey; 228 static const wchar_t* kAppPathsRegistryKey;
229 static const wchar_t* kAppPathsRegistryPathName; 229 static const wchar_t* kAppPathsRegistryPathName;
230 230
231 // Name that we give to Chrome file association handler ProgId.
232 static const wchar_t* kChromeHTMLProgId;
233
234 // Description of Chrome file association handler ProgId.
235 static const wchar_t* kChromeHTMLProgIdDesc;
236
237 // Registry path that stores url associations on Vista. 231 // Registry path that stores url associations on Vista.
238 static const wchar_t* kRegVistaUrlPrefs; 232 static const wchar_t* kRegVistaUrlPrefs;
239 233
240 // File extensions that Chrome registers itself as the default handler 234 // File extensions that Chrome registers itself as the default handler
241 // for when the user makes Chrome the default browser. 235 // for when the user makes Chrome the default browser.
242 static const wchar_t* kDefaultFileAssociations[]; 236 static const wchar_t* kDefaultFileAssociations[];
243 237
244 // File extensions that Chrome registers itself as being capable of 238 // File extensions that Chrome registers itself as being capable of
245 // handling. 239 // handling.
246 static const wchar_t* kPotentialFileAssociations[]; 240 static const wchar_t* kPotentialFileAssociations[];
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 // required by the base32 standard for inputs that aren't a multiple of 5 562 // required by the base32 standard for inputs that aren't a multiple of 5
569 // bytes. 563 // bytes.
570 static string16 ByteArrayToBase32(const uint8* bytes, size_t size); 564 static string16 ByteArrayToBase32(const uint8* bytes, size_t size);
571 565
572 private: 566 private:
573 DISALLOW_COPY_AND_ASSIGN(ShellUtil); 567 DISALLOW_COPY_AND_ASSIGN(ShellUtil);
574 }; 568 };
575 569
576 570
577 #endif // CHROME_INSTALLER_UTIL_SHELL_UTIL_H_ 571 #endif // CHROME_INSTALLER_UTIL_SHELL_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698