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

Unified Diff: chrome/browser/sync/engine/nudge_source.h

Issue 5939006: sync: beginnings of MessageLoop based SyncerThread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: linux compile Created 9 years, 11 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: chrome/browser/sync/engine/nudge_source.h
diff --git a/chrome/browser/sync/engine/nudge_source.h b/chrome/browser/sync/engine/nudge_source.h
new file mode 100644
index 0000000000000000000000000000000000000000..6a75ad15ff9474e7114e6cb764d89c4ce5342c67
--- /dev/null
+++ b/chrome/browser/sync/engine/nudge_source.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2010 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 CHROME_BROWSER_SYNC_ENGINE_NUDGE_SOURCE_H_
+#define CHROME_BROWSER_SYNC_ENGINE_NUDGE_SOURCE_H_
+#pragma once
+
+namespace browser_sync {
+
+namespace s3 {
+
+enum NudgeSource {
+ NUDGE_SOURCE_UNKNOWN = 0,
+ // We received an invalidation message and are nudging to check for updates.
+ NUDGE_SOURCE_NOTIFICATION,
+ // A local change occurred (e.g. bookmark moved).
+ NUDGE_SOURCE_LOCAL,
+ // A previous sync cycle did not fully complete (e.g. HTTP error).
+ NUDGE_SOURCE_CONTINUATION,
+ // A nudge corresponding to the user invoking a function in the UI to clear
+ // their entire account and stop syncing (globally).
+ NUDGE_SOURCE_CLEAR_PRIVATE_DATA,
+};
+
+} // namespace s3
+} // namespace browser_sync
+
+#endif // CHROME_BROWSER_SYNC_ENGINE_NUDGE_SOURCE_H_
« no previous file with comments | « chrome/browser/sync/engine/mock_model_safe_workers.cc ('k') | chrome/browser/sync/engine/polling_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698