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

Unified Diff: net/tools/testserver/chromiumsync.py

Issue 9702083: sync: Count and report reflected updates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update python test server Created 8 years, 9 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
« no previous file with comments | « chrome/browser/sync/test_profile_sync_service.cc ('k') | sync/engine/verify_updates_command.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/testserver/chromiumsync.py
diff --git a/net/tools/testserver/chromiumsync.py b/net/tools/testserver/chromiumsync.py
index 752d6a4650d8e31808d0fff8d3724eb7cda3eb20..d789bcbbc653e6a1d46f8452d914e493f27f926c 100755
--- a/net/tools/testserver/chromiumsync.py
+++ b/net/tools/testserver/chromiumsync.py
@@ -23,6 +23,7 @@ import app_setting_specifics_pb2
import app_specifics_pb2
import autofill_specifics_pb2
import bookmark_specifics_pb2
+import get_updates_caller_info_pb2
import extension_setting_specifics_pb2
import extension_specifics_pb2
import nigori_specifics_pb2
@@ -216,8 +217,9 @@ def SyncTypeToString(data_type):
def CallerInfoToString(caller_info_source):
"""Formats a GetUpdatesSource enum value to a readable string."""
- return sync_pb2.GetUpdatesCallerInfo.DESCRIPTOR.enum_types_by_name[
- 'GetUpdatesSource'].values_by_number[caller_info_source].name
+ return get_updates_caller_info_pb2.GetUpdatesCallerInfo \
tim (not reviewing) 2012/03/23 20:21:06 You can give out/Debug/run_testserver --sync-test
+ .DESCRIPTOR.enum_types_by_name['GetUpdatesSource'] \
+ .values_by_number[caller_info_source].name
def ShortDatatypeListSummary(data_types):
« no previous file with comments | « chrome/browser/sync/test_profile_sync_service.cc ('k') | sync/engine/verify_updates_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698