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

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 661454: Initial implementation of status tray functionality (mac-only, currently). (Closed)
Patch Set: more changes per review feedback Created 10 years, 10 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/browser_process_impl.h ('k') | chrome/browser/cocoa/status_icons/status_icon_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.cc
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index f3cb9700ef1877703eb5cbb5976de300fec01a7b..c510336e726b4942e003c7fedad881110c456e6a 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -38,6 +38,7 @@
#include "chrome/browser/renderer_host/render_process_host.h"
#include "chrome/browser/renderer_host/resource_dispatcher_host.h"
#include "chrome/browser/safe_browsing/safe_browsing_service.h"
+#include "chrome/browser/status_icons/status_tray_manager.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
@@ -431,6 +432,11 @@ void BrowserProcessImpl::SetApplicationLocale(const std::string& locale) {
extension_l10n_util::SetProcessLocale(locale);
}
+void BrowserProcessImpl::CreateStatusTrayManager() {
+ DCHECK(status_tray_manager_.get() == NULL);
+ status_tray_manager_.reset(new StatusTrayManager());
+}
+
// The BrowserProcess object must outlive the file thread so we use traits
// which don't do any management.
template <>
« no previous file with comments | « chrome/browser/browser_process_impl.h ('k') | chrome/browser/cocoa/status_icons/status_icon_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698