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

Side by Side Diff: components/sync/engine/configure_reason.h

Issue 2413313004: [Sync] Move the last things out of core/. (Closed)
Patch Set: Address comments. Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « components/sync/engine/commit_queue.h ('k') | components/sync/engine/connection_status.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_SYNC_CORE_CONFIGURE_REASON_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_CONFIGURE_REASON_H_
6 #define COMPONENTS_SYNC_CORE_CONFIGURE_REASON_H_ 6 #define COMPONENTS_SYNC_ENGINE_CONFIGURE_REASON_H_
7 7
8 namespace syncer { 8 namespace syncer {
9 9
10 // Note: This should confirm with the enums in sync.proto for 10 // Note: This should confirm with the enums in sync.proto for
11 // GetUpdatesCallerInfo. They will have 1:1 mapping but this will only map 11 // GetUpdatesCallerInfo. They will have 1:1 mapping but this will only map
12 // to a subset of the GetUpdatesCallerInfo enum values. 12 // to a subset of the GetUpdatesCallerInfo enum values.
13 enum ConfigureReason { 13 enum ConfigureReason {
14 // We should never be here during actual configure. This is for setting 14 // We should never be here during actual configure. This is for setting
15 // default values. 15 // default values.
16 CONFIGURE_REASON_UNKNOWN, 16 CONFIGURE_REASON_UNKNOWN,
(...skipping 23 matching lines...) Expand all
40 // The client is configuring because it needs to "catch up" datatypes by 40 // The client is configuring because it needs to "catch up" datatypes by
41 // downloading and applying any outstanding changes. There can be multiple 41 // downloading and applying any outstanding changes. There can be multiple
42 // reasons why a client performs a catch up. One reason is that the client is 42 // reasons why a client performs a catch up. One reason is that the client is
43 // enabling passphrase encryption and must ensure it has all data locally 43 // enabling passphrase encryption and must ensure it has all data locally
44 // before it clears server data. 44 // before it clears server data.
45 CONFIGURE_REASON_CATCH_UP, 45 CONFIGURE_REASON_CATCH_UP,
46 }; 46 };
47 47
48 } // namespace syncer 48 } // namespace syncer
49 49
50 #endif // COMPONENTS_SYNC_CORE_CONFIGURE_REASON_H_ 50 #endif // COMPONENTS_SYNC_ENGINE_CONFIGURE_REASON_H_
OLDNEW
« no previous file with comments | « components/sync/engine/commit_queue.h ('k') | components/sync/engine/connection_status.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698