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

Unified Diff: chrome/browser/sync/sessions/status_controller.cc

Issue 8189003: Send important client side event information to the server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For review Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/sessions/status_controller.cc
diff --git a/chrome/browser/sync/sessions/status_controller.cc b/chrome/browser/sync/sessions/status_controller.cc
index 24a588d0a86c31b5f1b6567e1eaa9297ae09869f..9c35f3ba2f68165261a8a545dfadda82048f2fda 100644
--- a/chrome/browser/sync/sessions/status_controller.cc
+++ b/chrome/browser/sync/sessions/status_controller.cc
@@ -22,7 +22,8 @@ StatusController::StatusController(const ModelSafeRoutingInfo& routes)
is_dirty_(false),
group_restriction_in_effect_(false),
group_restriction_(GROUP_PASSIVE),
- routing_info_(routes) {
+ routing_info_(routes),
+ debug_info_sent_(false) {
}
StatusController::~StatusController() {}
@@ -242,5 +243,13 @@ bool StatusController::ServerSaysNothingMoreToDownload() const {
return updates_response().get_updates().changes_remaining() == 0;
}
+void StatusController::set_debug_info_sent(bool value) {
+ debug_info_sent_ = value;
+}
+
+bool StatusController::debug_info_sent() {
+ return debug_info_sent_;
+}
+
} // namespace sessions
} // namespace browser_sync

Powered by Google App Engine
This is Rietveld 408576698