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

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

Issue 1255073002: clang/win: Fix most -Wunused-function warnings in Chromium code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac Created 5 years, 5 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
Index: chrome/installer/util/shell_util.cc
diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc
index 84ae4867f9bf737ecea586729021bb1b19c0c9f0..e7ca7d8d1f16d5cd1081bec8a69f85ae16c0f496 100644
--- a/chrome/installer/util/shell_util.cc
+++ b/chrome/installer/util/shell_util.cc
@@ -921,18 +921,6 @@ bool LaunchSelectDefaultProtocolHandlerDialog(const wchar_t* protocol) {
return true;
}
-// Launches the Windows 7 and Windows 8 application association dialog, which
-// is the only documented way to make a browser the default browser on
-// Windows 8.
-bool LaunchApplicationAssociationDialog(const base::string16& app_id) {
- base::win::ScopedComPtr<IApplicationAssociationRegistrationUI> aarui;
- HRESULT hr = aarui.CreateInstance(CLSID_ApplicationAssociationRegistrationUI);
- if (FAILED(hr))
- return false;
- hr = aarui->LaunchAdvancedAssociationUI(app_id.c_str());
- return SUCCEEDED(hr);
-}
-
// Returns true if the current install's |chrome_exe| has been registered with
// |suffix|.
// |confirmation_level| is the level of verification desired as described in

Powered by Google App Engine
This is Rietveld 408576698