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

Side by Side Diff: sync/internal_api/public/sessions/sync_session_snapshot.h

Issue 256413007: Remove changes remaining counter from about:sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_SESSIONS_SYNC_SESSION_SNAPSHOT_H_ 5 #ifndef SYNC_INTERNAL_API_PUBLIC_SESSIONS_SYNC_SESSION_SNAPSHOT_H_
6 #define SYNC_INTERNAL_API_PUBLIC_SESSIONS_SYNC_SESSION_SNAPSHOT_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_SESSIONS_SYNC_SESSION_SNAPSHOT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 ~SyncSessionSnapshot(); 45 ~SyncSessionSnapshot();
46 46
47 // Caller takes ownership of the returned dictionary. 47 // Caller takes ownership of the returned dictionary.
48 base::DictionaryValue* ToValue() const; 48 base::DictionaryValue* ToValue() const;
49 49
50 std::string ToString() const; 50 std::string ToString() const;
51 51
52 ModelNeutralState model_neutral_state() const { 52 ModelNeutralState model_neutral_state() const {
53 return model_neutral_state_; 53 return model_neutral_state_;
54 } 54 }
55 int64 num_server_changes_remaining() const;
56 const ProgressMarkerMap& download_progress_markers() const; 55 const ProgressMarkerMap& download_progress_markers() const;
57 bool is_silenced() const; 56 bool is_silenced() const;
58 int num_encryption_conflicts() const; 57 int num_encryption_conflicts() const;
59 int num_hierarchy_conflicts() const; 58 int num_hierarchy_conflicts() const;
60 int num_server_conflicts() const; 59 int num_server_conflicts() const;
61 bool notifications_enabled() const; 60 bool notifications_enabled() const;
62 size_t num_entries() const; 61 size_t num_entries() const;
63 base::Time sync_start_time() const; 62 base::Time sync_start_time() const;
64 const std::vector<int>& num_entries_by_type() const; 63 const std::vector<int>& num_entries_by_type() const;
65 const std::vector<int>& num_to_delete_entries_by_type() const; 64 const std::vector<int>& num_to_delete_entries_by_type() const;
(...skipping 21 matching lines...) Expand all
87 // still some value in displaying it on the about:sync page. 86 // still some value in displaying it on the about:sync page.
88 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource legacy_updates_source_; 87 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource legacy_updates_source_;
89 88
90 bool is_initialized_; 89 bool is_initialized_;
91 }; 90 };
92 91
93 } // namespace sessions 92 } // namespace sessions
94 } // namespace syncer 93 } // namespace syncer
95 94
96 #endif // SYNC_INTERNAL_API_PUBLIC_SESSIONS_SYNC_SESSION_SNAPSHOT_H_ 95 #endif // SYNC_INTERNAL_API_PUBLIC_SESSIONS_SYNC_SESSION_SNAPSHOT_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/sessions/model_neutral_state.cc ('k') | sync/internal_api/public/sessions/sync_session_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698