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

Unified Diff: chrome/installer/util/shell_util.h

Issue 10667006: Revert 143782 - Use a better registration suffix that will always be unique while respecting the MS… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/installer/util/shell_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/shell_util.h
===================================================================
--- chrome/installer/util/shell_util.h (revision 143832)
+++ chrome/installer/util/shell_util.h (working copy)
@@ -16,7 +16,6 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/md5.h"
#include "base/string16.h"
#include "chrome/installer/util/work_item_list.h"
@@ -244,8 +243,8 @@
const string16& chrome_exe);
// Returns the AppUserModelId for |dist|. This identifier is unconditionally
- // suffixed with a unique id for this user on user-level installs (in contrast
- // to other registration entries which are suffixed as described in
+ // suffixed with the user id for user-level installs (in contrast to other
+ // registration entries which are suffix as described in
// GetCurrentInstallationSuffix() above).
static string16 GetBrowserModelId(BrowserDistribution* dist,
const string16& chrome_exe);
@@ -406,17 +405,6 @@
int icon_index,
uint32 options);
- // Returns the base32 encoding (using the [A-Z2-7] alphabet) of |digest|.
- // The returned string will be exactly 26 characters in length.
- static string16 MD5DigestToBase32(const base::MD5Digest& digest);
-
- // Returns the base32 encoding (using the [A-Z2-7] alphabet) of |bytes|.
- // |size| is the length of |bytes|.
- // Note: This method does not suffix the output with '=' signs as technically
- // required by the base32 standard for inputs that aren't a multiple of 5
- // bits.
- static string16 ByteArrayToBase32(const unsigned char bytes[], int size);
-
private:
DISALLOW_COPY_AND_ASSIGN(ShellUtil);
};
« no previous file with comments | « no previous file | chrome/installer/util/shell_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698