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

Unified Diff: components/invalidation/invalidator_state.h

Issue 1191393008: Introduce a layering in the invalidation component as public and impl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Explicitly forbid content to prevent future additions Created 5 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
Index: components/invalidation/invalidator_state.h
diff --git a/components/invalidation/invalidator_state.h b/components/invalidation/invalidator_state.h
deleted file mode 100644
index cee5bd8cdb683ef30fde9be06cbc8a1962e20395..0000000000000000000000000000000000000000
--- a/components/invalidation/invalidator_state.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2014 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 COMPONENTS_INVALIDATION_INVALIDATOR_STATE_H_
-#define COMPONENTS_INVALIDATION_INVALIDATOR_STATE_H_
-
-#include "components/invalidation/invalidation_export.h"
-
-namespace syncer {
-
-enum InvalidatorState {
- // Failure states
- // --------------
- // There is an underlying transient problem (e.g., network- or
- // XMPP-related).
- TRANSIENT_INVALIDATION_ERROR,
- DEFAULT_INVALIDATION_ERROR = TRANSIENT_INVALIDATION_ERROR,
- // Our credentials have been rejected.
- INVALIDATION_CREDENTIALS_REJECTED,
-
- // Invalidations are fully working.
- INVALIDATIONS_ENABLED
-};
-
-INVALIDATION_EXPORT const char* InvalidatorStateToString(
- InvalidatorState state);
-
-} // namespace syncer
-
-#endif // COMPONENTS_INVALIDATION_INVALIDATOR_STATE_H_
« no previous file with comments | « components/invalidation/invalidator_registrar_unittest.cc ('k') | components/invalidation/invalidator_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698