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

Unified Diff: ash/system/tray/system_tray_delegate.h

Issue 10285002: Revert 134774 because of win aura compile and chromium os browser_test crashes - Created uber tray … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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') | ash/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_delegate.h
===================================================================
--- ash/system/tray/system_tray_delegate.h (revision 134777)
+++ ash/system/tray/system_tray_delegate.h (working copy)
@@ -12,7 +12,6 @@
#include "ash/ash_export.h"
#include "ash/system/user/login_status.h"
#include "ash/system/power/power_supply_status.h"
-#include "base/file_path.h"
#include "base/i18n/time_formatting.h"
#include "base/string16.h"
#include "third_party/skia/include/core/SkBitmap.h"
@@ -44,37 +43,6 @@
typedef std::vector<BluetoothDeviceInfo> BluetoothDeviceList;
-// Structure that packs progress information of each operation.
-struct ASH_EXPORT DriveOperationStatus {
- enum OperationType {
- OPERATION_UPLOAD,
- OPERATION_DOWNLOAD,
- OPERATION_OTHER,
- };
-
- enum OperationState {
- OPERATION_NOT_STARTED,
- OPERATION_STARTED,
- OPERATION_IN_PROGRESS,
- OPERATION_COMPLETED,
- OPERATION_FAILED,
- OPERATION_SUSPENDED,
- };
-
- DriveOperationStatus();
- ~DriveOperationStatus();
-
- // File path.
- FilePath file_path;
- // Current operation completion progress [0.0 - 1.0].
- double progress;
- OperationType type;
- OperationState state;
-};
-
-typedef std::vector<DriveOperationStatus> DriveOperationStatusList;
-
-
struct ASH_EXPORT IMEPropertyInfo {
IMEPropertyInfo();
~IMEPropertyInfo();
@@ -138,9 +106,6 @@
// Shows the settings related to bluetooth.
virtual void ShowBluetoothSettings() = 0;
- // Shows settings related to Google Drive.
- virtual void ShowDriveSettings() = 0;
-
// Shows settings related to input methods.
virtual void ShowIMESettings() = 0;
@@ -201,13 +166,6 @@
// Activates an IME property.
virtual void ActivateIMEProperty(const std::string& key) = 0;
- // Cancels ongoing drive operation.
- virtual void CancelDriveOperation(const FilePath& file_path) = 0;
-
- // Returns information about the ongoing drive operations.
- virtual void GetDriveOperationStatusList(
- DriveOperationStatusList* list) = 0;
-
// Returns information about the most relevant network. Relevance is
// determined by the implementor (e.g. a connecting network may be more
// relevant over a connected network etc.)
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698