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

Unified Diff: sync/notifier/notifications_disabled_reason.h

Issue 10916131: [Invalidations] Add GetInvalidatorState() to Invalidator{,Frontend} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix android Created 8 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 | « sync/notifier/non_blocking_invalidator_unittest.cc ('k') | sync/notifier/notifications_disabled_reason.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/notifications_disabled_reason.h
diff --git a/sync/notifier/notifications_disabled_reason.h b/sync/notifier/notifications_disabled_reason.h
deleted file mode 100644
index 40805aaf8a6904d14b9bded48bd30d2785c9d845..0000000000000000000000000000000000000000
--- a/sync/notifier/notifications_disabled_reason.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SYNC_NOTIFIER_NOTIFICATIONS_DISABLED_REASON_H_
-#define SYNC_NOTIFIER_NOTIFICATIONS_DISABLED_REASON_H_
-
-#include "jingle/notifier/listener/push_client_observer.h"
-
-namespace syncer {
-
-enum NotificationsDisabledReason {
- // There is an underlying transient problem (e.g., network- or
- // XMPP-related).
- TRANSIENT_NOTIFICATION_ERROR,
- DEFAULT_NOTIFICATION_ERROR = TRANSIENT_NOTIFICATION_ERROR,
- // Our credentials have been rejected.
- NOTIFICATION_CREDENTIALS_REJECTED,
- // No error (useful as a default value or to avoid keeping a
- // separate bool for notifications enabled/disabled).
- NO_NOTIFICATION_ERROR
-};
-
-const char* NotificationsDisabledReasonToString(
- NotificationsDisabledReason reason);
-
-NotificationsDisabledReason FromNotifierReason(
- notifier::NotificationsDisabledReason reason);
-
-notifier::NotificationsDisabledReason ToNotifierReasonForTest(
- NotificationsDisabledReason reason);
-
-} // namespace syncer
-
-#endif // SYNC_NOTIFIER_NOTIFICATIONS_DISABLED_REASON_H_
« no previous file with comments | « sync/notifier/non_blocking_invalidator_unittest.cc ('k') | sync/notifier/notifications_disabled_reason.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698