diff options
author | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-21 20:11:08 +0000 |
---|---|---|
committer | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-21 20:11:08 +0000 |
commit | cdd9fea014653052e1e2fc2a354b8526235bc65f (patch) | |
tree | c429690a9320d43be04b3013785af50d1333db72 /chrome_frame/utils.h | |
parent | 82b0f03294d4a9ee705cddf4a157572ea91512e9 (diff) | |
download | chromium_src-cdd9fea014653052e1e2fc2a354b8526235bc65f.zip chromium_src-cdd9fea014653052e1e2fc2a354b8526235bc65f.tar.gz chromium_src-cdd9fea014653052e1e2fc2a354b8526235bc65f.tar.bz2 |
Remove old ap-value munging code in Chrome Frame.
Review URL: http://codereview.chromium.org/303023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29696 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/utils.h')
-rw-r--r-- | chrome_frame/utils.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/chrome_frame/utils.h b/chrome_frame/utils.h index 7b56621..2f79013 100644 --- a/chrome_frame/utils.h +++ b/chrome_frame/utils.h @@ -54,34 +54,6 @@ HRESULT UtilUnRegisterTypeLib(ITypeLib* typelib, HRESULT UtilGetXUACompatContentValue(const std::wstring& html_string, std::wstring* content_value); - -// Appends |suffix| to the substring |channel_name| of |string| iff -// the first instance of |channel_name| in |string| is not already followed by -// |suffix|. -// Returns true if |string| was modified. -bool AppendSuffixToChannelName(std::wstring* string, - const std::wstring& channel_name, - const std::wstring& suffix); - -// Removes |suffix| from |string| if |string| contains |channel_name| followed -// by |suffix|. -// Returns true if |string| was modified. -bool RemoveSuffixFromChannelName(std::wstring* string, - const std::wstring& channel_name, - const std::wstring& suffix); - -// Looks for and alters if found the Omaha configuration for Chrome in the -// registry. This changes the auto-update release channel to prevent installed -// builds of Chrome that include Chrome Frame from getting replaced by -// Chrome updates without it. -// Adds the Chrome Frame suffix if add_cf_suffix is true, removes it -// otherwise. -// Returns S_OK if the Chrome Omaha configuration was found and updated. -// Returns S_FALSE if the configuration was found but didn't need updating. -// Returns REGDB_E_READREGDB if the Chrome Omaha key could not be read. -// Returns REGDB_E_WRITEREGDB if the Chrome Omaha key could not be written. -HRESULT UtilUpdateOmahaConfig(bool add_cf_suffix); - // Returns a string from ChromeFrame's string table by resource. Must be // provided with a valid resource id. std::wstring GetResourceString(int resource_id); |