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

Side by Side Diff: sync/internal_api/public/engine/sync_status.h

Issue 10917246: [Sync] Add keystore encryption info to about:sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/engine/all_status.cc ('k') | sync/internal_api/public/engine/sync_status.cc » ('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 SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ 5 #ifndef SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_
6 #define SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "sync/base/sync_export.h" 10 #include "sync/base/sync_export.h"
11 #include "sync/internal_api/public/base/model_type.h" 11 #include "sync/internal_api/public/base/model_type.h"
12 #include "sync/internal_api/public/sync_encryption_handler.h"
12 #include "sync/protocol/sync_protocol_error.h" 13 #include "sync/protocol/sync_protocol_error.h"
13 14
14 namespace syncer { 15 namespace syncer {
15 16
16 // Status encapsulates detailed state about the internals of the SyncManager. 17 // Status encapsulates detailed state about the internals of the SyncManager.
17 // 18 //
18 // This struct is closely tied to the AllStatus object which uses instances of 19 // This struct is closely tied to the AllStatus object which uses instances of
19 // it to track and report on the sync engine's internal state, and the functions 20 // it to track and report on the sync engine's internal state, and the functions
20 // in sync_ui_util.cc which convert the contents of this struct into a 21 // in sync_ui_util.cc which convert the contents of this struct into a
21 // DictionaryValue used to populate the about:sync summary tab. 22 // DictionaryValue used to populate the about:sync summary tab.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 int sync_cycles_without_commits; 78 int sync_cycles_without_commits;
78 79
79 // Count of useless and useful syncs we perform. 80 // Count of useless and useful syncs we perform.
80 int useless_sync_cycles; 81 int useless_sync_cycles;
81 int useful_sync_cycles; 82 int useful_sync_cycles;
82 83
83 // Encryption related. 84 // Encryption related.
84 ModelTypeSet encrypted_types; 85 ModelTypeSet encrypted_types;
85 bool cryptographer_ready; 86 bool cryptographer_ready;
86 bool crypto_has_pending_keys; 87 bool crypto_has_pending_keys;
88 bool has_keystore_key;
89 base::Time keystore_migration_time;
90 PassphraseType passphrase_type;
87 91
88 // Per-datatype throttled status. 92 // Per-datatype throttled status.
89 ModelTypeSet throttled_types; 93 ModelTypeSet throttled_types;
90 94
91 // The unique identifer for this client. 95 // The unique identifer for this client.
92 std::string unique_id; 96 std::string unique_id;
93 }; 97 };
94 98
95 } // namespace syncer 99 } // namespace syncer
96 100
97 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ 101 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_
OLDNEW
« no previous file with comments | « sync/engine/all_status.cc ('k') | sync/internal_api/public/engine/sync_status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698