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

Unified Diff: components/sync/protocol/prepare_protos_for_java_tests.py

Issue 2155763002: [Sync] //components/sync manual changes [DO NOT SUBMIT] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sc-automated
Patch Set: Rebase. Created 4 years, 5 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 | « components/sync/protocol/DEPS ('k') | components/sync/sessions/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/protocol/prepare_protos_for_java_tests.py
diff --git a/components/sync/protocol/prepare_protos_for_java_tests.py b/components/sync/protocol/prepare_protos_for_java_tests.py
index 12888ef5da9998d4bae4d3df4e31e25670a9a327..bd836bc0e25c9ef8b52998723576de13be69103c 100755
--- a/components/sync/protocol/prepare_protos_for_java_tests.py
+++ b/components/sync/protocol/prepare_protos_for_java_tests.py
@@ -64,8 +64,9 @@ def ConvertProtoFileContents(contents):
# modifying the files here.
syntax_regex = re.compile(r'^\s*syntax\s*=.*;', re.MULTILINE)
syntax_end = syntax_regex.search(pruned_contents).end()
- java_options = ('option java_multiple_files = true; '
- 'option java_package = "org.chromium.components.sync.protocol";')
+ java_options = (
+ 'option java_multiple_files = true; '
+ 'option java_package = "org.chromium.components.sync.protocol";')
contents_to_join = (pruned_contents[:syntax_end], java_options,
pruned_contents[syntax_end:])
« no previous file with comments | « components/sync/protocol/DEPS ('k') | components/sync/sessions/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698