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

Unified Diff: chrome/browser/chromeos/profile_startup.cc

Issue 10668026: Merge 143291 - Re-factor TraySms to use ash::SmsObserver instead of NetoworkSmsHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 years, 6 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 | « ash/system/tray/system_tray.cc ('k') | chrome/browser/chromeos/sms_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/profile_startup.cc
===================================================================
--- chrome/browser/chromeos/profile_startup.cc (revision 143914)
+++ chrome/browser/chromeos/profile_startup.cc (working copy)
@@ -50,13 +50,10 @@
chromeos::CrosLibrary::Get()->GetNetworkLibrary()->
AddUserActionObserver(network_message_observer);
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- ash::switches::kAshNotifyDisabled)) {
- static chromeos::SmsObserver* sms_observer =
- new chromeos::SmsObserver(profile);
- chromeos::CrosLibrary::Get()->GetNetworkLibrary()->
- AddNetworkManagerObserver(sms_observer);
- }
+ static chromeos::SmsObserver* sms_observer =
+ new chromeos::SmsObserver(profile);
+ chromeos::CrosLibrary::Get()->GetNetworkLibrary()->
+ AddNetworkManagerObserver(sms_observer);
profile->SetupChromeOSEnterpriseExtensionObserver();
}
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | chrome/browser/chromeos/sms_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698