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

Unified Diff: third_party/protobuf26/reflection.py

Issue 1162993005: Renamed google.protobuf to protobuf26 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Addressed comments Created 5 years, 7 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 | « third_party/protobuf26/message_factory.py ('k') | third_party/protobuf26/service.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/protobuf26/reflection.py
diff --git a/third_party/google/protobuf/reflection.py b/third_party/protobuf26/reflection.py
similarity index 96%
rename from third_party/google/protobuf/reflection.py
rename to third_party/protobuf26/reflection.py
index 7aac623068f93acf4798e836a0e4b9e4b79cb0f1..673348c900f2efa1b72a27143d4df7dbd75d7d89 100644
--- a/third_party/google/protobuf/reflection.py
+++ b/third_party/protobuf26/reflection.py
@@ -48,24 +48,24 @@ this file*.
__author__ = 'robinson@google.com (Will Robinson)'
-from google.protobuf.internal import api_implementation
-from google.protobuf import descriptor as descriptor_mod
-from google.protobuf import message
+from protobuf26.internal import api_implementation
+from protobuf26 import descriptor as descriptor_mod
+from protobuf26 import message
_FieldDescriptor = descriptor_mod.FieldDescriptor
if api_implementation.Type() == 'cpp':
if api_implementation.Version() == 2:
- from google.protobuf.pyext import cpp_message
+ from protobuf26.pyext import cpp_message
_NewMessage = cpp_message.NewMessage
_InitMessage = cpp_message.InitMessage
else:
- from google.protobuf.internal import cpp_message
+ from protobuf26.internal import cpp_message
_NewMessage = cpp_message.NewMessage
_InitMessage = cpp_message.InitMessage
else:
- from google.protobuf.internal import python_message
+ from protobuf26.internal import python_message
_NewMessage = python_message.NewMessage
_InitMessage = python_message.InitMessage
« no previous file with comments | « third_party/protobuf26/message_factory.py ('k') | third_party/protobuf26/service.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698