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

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

Issue 2279753003: Move definition of PasswordType enum to a separate header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@passphrase-type-enum-class
Patch Set: D2279753003 Created 4 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 unified diff | Download patch
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_ENGINE_SYNC_STATUS_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_
6 #define COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_ 6 #define COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "components/sync/base/model_type.h" 12 #include "components/sync/base/model_type.h"
13 #include "components/sync/base/passphrase_type.h"
13 #include "components/sync/core/sync_encryption_handler.h" 14 #include "components/sync/core/sync_encryption_handler.h"
14 #include "components/sync/protocol/sync_protocol_error.h" 15 #include "components/sync/protocol/sync_protocol_error.h"
15 16
16 namespace syncer { 17 namespace syncer {
17 18
18 // Status encapsulates detailed state about the internals of the SyncManager. 19 // Status encapsulates detailed state about the internals of the SyncManager.
19 // 20 //
20 // This struct is closely tied to the AllStatus object which uses instances of 21 // This struct is closely tied to the AllStatus object which uses instances of
21 // it to track and report on the sync engine's internal state, and the functions 22 // it to track and report on the sync engine's internal state, and the functions
22 // in sync_ui_util.cc which convert the contents of this struct into a 23 // in sync_ui_util.cc which convert the contents of this struct into a
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 std::vector<int> num_entries_by_type; 91 std::vector<int> num_entries_by_type;
91 std::vector<int> num_to_delete_entries_by_type; 92 std::vector<int> num_to_delete_entries_by_type;
92 93
93 // Time of next retry if sync scheduler is throttled or in backoff. 94 // Time of next retry if sync scheduler is throttled or in backoff.
94 base::Time retry_time; 95 base::Time retry_time;
95 }; 96 };
96 97
97 } // namespace syncer 98 } // namespace syncer
98 99
99 #endif // COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_ 100 #endif // COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_
OLDNEW
« no previous file with comments | « components/sync/core_impl/sync_encryption_handler_impl.cc ('k') | components/sync/engine/sync_string_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698