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

Unified Diff: chrome/browser/shell_integration_win.cc

Issue 2578843002: Implement Win 10 onboarding content logic (Closed)
Patch Set: Created 4 years 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/browser/shell_integration_win.cc
diff --git a/chrome/browser/shell_integration_win.cc b/chrome/browser/shell_integration_win.cc
index fffcc9c46b1552a94d946b33cc37cec1c9a93233..e0f0837c84b155372dee6822eb24246e7fe5c23f 100644
--- a/chrome/browser/shell_integration_win.cc
+++ b/chrome/browser/shell_integration_win.cc
@@ -487,6 +487,9 @@ IsPinnedToTaskbarHelper::IsPinnedToTaskbarHelper(
l10n_util::GetStringUTF16(IDS_UTILITY_PROCESS_SHELL_HANDLER_NAME)),
error_callback_(error_callback),
result_callback_(result_callback) {
+ DCHECK(error_callback);
+ DCHECK(result_callback);
+
// |shell_handler_| owns the callbacks and is guaranteed to be destroyed
// before |this|, therefore making base::Unretained() safe to use.
shell_handler_.set_error_callback(base::Bind(

Powered by Google App Engine
This is Rietveld 408576698