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

Side by Side Diff: chrome/browser/sync/about_sync_util.cc

Issue 73043002: Fixed two typos on chrome://sync-internals/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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 | « no previous file | no next file » | 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 #include "chrome/browser/sync/about_sync_util.h" 5 #include "chrome/browser/sync/about_sync_util.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 stats_list, "Status from Last Completed Session"); 274 stats_list, "Status from Last Completed Session");
275 StringSyncStat session_source(section_last_session, "Sync Source"); 275 StringSyncStat session_source(section_last_session, "Sync Source");
276 StringSyncStat get_key_result(section_last_session, "GetKey Step Result"); 276 StringSyncStat get_key_result(section_last_session, "GetKey Step Result");
277 StringSyncStat download_result(section_last_session, "Download Step Result"); 277 StringSyncStat download_result(section_last_session, "Download Step Result");
278 StringSyncStat commit_result(section_last_session, "Commit Step Result"); 278 StringSyncStat commit_result(section_last_session, "Commit Step Result");
279 279
280 ListValue* section_counters = AddSection(stats_list, "Running Totals"); 280 ListValue* section_counters = AddSection(stats_list, "Running Totals");
281 IntSyncStat notifications_received(section_counters, 281 IntSyncStat notifications_received(section_counters,
282 "Notifications Received"); 282 "Notifications Received");
283 IntSyncStat empty_get_updates(section_counters, "Cycles Without Updates"); 283 IntSyncStat empty_get_updates(section_counters, "Cycles Without Updates");
284 IntSyncStat non_empty_get_updates(section_counters, "Cycles With Updated"); 284 IntSyncStat non_empty_get_updates(section_counters, "Cycles With Updates");
285 IntSyncStat sync_cycles_without_commits(section_counters, 285 IntSyncStat sync_cycles_without_commits(section_counters,
286 "Cycles Without Commits"); 286 "Cycles Without Commits");
287 IntSyncStat sync_cycles_with_commits(section_counters, "Cycles With Commits"); 287 IntSyncStat sync_cycles_with_commits(section_counters, "Cycles With Commits");
288 IntSyncStat useless_sync_cycles(section_counters, 288 IntSyncStat useless_sync_cycles(section_counters,
289 "Cycles Without Commits or Updates"); 289 "Cycles Without Commits or Updates");
290 IntSyncStat useful_sync_cycles(section_counters, 290 IntSyncStat useful_sync_cycles(section_counters,
291 "Cycles With Commit or Update"); 291 "Cycles With Commits or Updates");
292 IntSyncStat updates_received(section_counters, "Updates Downloaded"); 292 IntSyncStat updates_received(section_counters, "Updates Downloaded");
293 IntSyncStat tombstone_updates(section_counters, "Tombstone Updates"); 293 IntSyncStat tombstone_updates(section_counters, "Tombstone Updates");
294 IntSyncStat reflected_updates(section_counters, "Reflected Updates"); 294 IntSyncStat reflected_updates(section_counters, "Reflected Updates");
295 IntSyncStat successful_commits(section_counters, "Successful Commits"); 295 IntSyncStat successful_commits(section_counters, "Successful Commits");
296 IntSyncStat conflicts_resolved_local_wins(section_counters, 296 IntSyncStat conflicts_resolved_local_wins(section_counters,
297 "Conflicts Resolved: Client Wins"); 297 "Conflicts Resolved: Client Wins");
298 IntSyncStat conflicts_resolved_server_wins(section_counters, 298 IntSyncStat conflicts_resolved_server_wins(section_counters,
299 "Conflicts Resolved: Server Wins"); 299 "Conflicts Resolved: Server Wins");
300 300
301 ListValue *section_this_cycle = AddSection(stats_list, 301 ListValue *section_this_cycle = AddSection(stats_list,
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 about_info->SetString("unrecoverable_error_message", 504 about_info->SetString("unrecoverable_error_message",
505 unrecoverable_error_message); 505 unrecoverable_error_message);
506 } 506 }
507 507
508 about_info->Set("type_status", service->GetTypeStatusMap()); 508 about_info->Set("type_status", service->GetTypeStatusMap());
509 509
510 return about_info.Pass(); 510 return about_info.Pass();
511 } 511 }
512 512
513 } // namespace sync_ui_util 513 } // namespace sync_ui_util
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698