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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
Index: components/sync/protocol/prepare_protos_for_java_tests.py
diff --git a/sync/protocol/prepare_protos_for_java_tests.py b/components/sync/protocol/prepare_protos_for_java_tests.py
similarity index 95%
rename from sync/protocol/prepare_protos_for_java_tests.py
rename to components/sync/protocol/prepare_protos_for_java_tests.py
index 0db4b9dc11625b6ed372935a66118925a8c4e9b4..bd836bc0e25c9ef8b52998723576de13be69103c 100755
--- a/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.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/preference_specifics.proto ('k') | components/sync/protocol/priority_preference_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698