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

Unified Diff: chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm

Issue 1289413003: Switch global error menu icon to vectorized MD asset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: kick signin error service on mac Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/signin/signin_ui_util.cc ('k') | chrome/browser/ui/global_error/global_error.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm
diff --git a/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm b/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm
index 5e9f500cf5d7bb98f5cb91e0cfe596c895420235..ae45ebd6271630a24750b204a263b382250bfcf2 100644
--- a/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm
+++ b/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm
@@ -21,6 +21,7 @@
#include "chrome/browser/command_updater.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search/search.h"
+#include "chrome/browser/sync/sync_global_error_factory.h"
#include "chrome/browser/themes/theme_service.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_commands.h"
@@ -246,6 +247,8 @@ class NotificationBridge : public WrenchMenuBadgeController::Delegate {
profile:profile
browser:browser
nibFileNamed:@"Toolbar"])) {
+ // Start global error services now so we badge the menu correctly.
+ SyncGlobalErrorFactory::GetForProfile(profile);
Evan Stade 2015/09/03 00:47:12 groby, please review changes to this file. This is
groby-ooo-7-16 2015/09/03 17:19:39 Question: Would it be better to hoist that up to t
Evan Stade 2015/09/03 17:51:28 In theory, yes, but on Views we apparently only do
}
return self;
}
« no previous file with comments | « chrome/browser/signin/signin_ui_util.cc ('k') | chrome/browser/ui/global_error/global_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698