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

Unified Diff: chrome/browser/chromeos/first_run/drive_first_run_controller.cc

Issue 83413004: Remove enable Drive offline system tray UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: drive settings Created 7 years, 1 month 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_notifier.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/first_run/drive_first_run_controller.cc
diff --git a/chrome/browser/chromeos/first_run/drive_first_run_controller.cc b/chrome/browser/chromeos/first_run/drive_first_run_controller.cc
index 952694835666fce73f6eee99d252f310dd618667..0f477c598e50b8c5c387eed6c7fb67d7053e2128 100644
--- a/chrome/browser/chromeos/first_run/drive_first_run_controller.cc
+++ b/chrome/browser/chromeos/first_run/drive_first_run_controller.cc
@@ -4,8 +4,6 @@
#include "chrome/browser/chromeos/first_run/drive_first_run_controller.h"
-#include "ash/shell.h"
-#include "ash/system/tray/system_tray_notifier.h"
#include "base/callback.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop/message_loop.h"
@@ -378,8 +376,8 @@ void DriveFirstRunController::CleanUp() {
void DriveFirstRunController::OnOfflineInit(bool success) {
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
if (success) {
- ash::Shell::GetInstance()->system_tray_notifier()
- ->NotifyDriveOfflineEnabled();
+ // TODO(tengs): Show non-toast notification that offline files will now
+ // be synced.
}
FOR_EACH_OBSERVER(Observer, observer_list_, OnCompletion(success));
CleanUp();
« no previous file with comments | « ash/system/tray/system_tray_notifier.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698