Browse Source

Project import generated by Copybara

PiperOrigin-RevId: 300117791
Rafi Kamal 5 years ago
parent
commit
637d7eda30

+ 1 - 1
js/experimental/benchmarks/code_size/kernel/all_types.js

@@ -6,7 +6,7 @@ goog.module('protobuf.benchmark.KernelCodeSizeBenchmarkAllTypes');
 
 const ByteString = goog.require('protobuf.ByteString');
 const Int64 = goog.require('protobuf.Int64');
-const LazyAccessor = goog.require('protobuf.binary.LazyAccessor');
+const LazyAccessor = goog.require('protobuf.runtime.Kernel');
 const TestMessage = goog.require('protobuf.testing.binary.TestMessage');
 const {ensureCommonBaseLine} = goog.require('protobuf.benchmark.codeSize.codeSizeBase');
 

+ 1 - 1
js/experimental/benchmarks/code_size/kernel/popular_types.js

@@ -20,7 +20,7 @@
 goog.module('protobuf.benchmark.KernelCodeSizeBenchmarkPopularTypes');
 
 const Int64 = goog.require('protobuf.Int64');
-const LazyAccessor = goog.require('protobuf.binary.LazyAccessor');
+const LazyAccessor = goog.require('protobuf.runtime.Kernel');
 const TestMessage = goog.require('protobuf.testing.binary.TestMessage');
 const {ensureCommonBaseLine} = goog.require('protobuf.benchmark.codeSize.codeSizeBase');
 

+ 1 - 1
js/experimental/runtime/kernel/conformance/conformance_request.js

@@ -3,7 +3,7 @@
  */
 goog.module('proto.conformance.ConformanceRequest');
 
-const LazyAccessor = goog.require('protobuf.binary.LazyAccessor');
+const LazyAccessor = goog.require('protobuf.runtime.Kernel');
 const WireFormat = goog.require('proto.conformance.WireFormat');
 
 /**

+ 1 - 1
js/experimental/runtime/kernel/conformance/conformance_response.js

@@ -4,7 +4,7 @@
 goog.module('proto.conformance.ConformanceResponse');
 
 const ByteString = goog.require('protobuf.ByteString');
-const LazyAccessor = goog.require('protobuf.binary.LazyAccessor');
+const LazyAccessor = goog.require('protobuf.runtime.Kernel');
 
 /**
  * Handwritten code of conformance.ConformanceResponse.

+ 1 - 1
js/experimental/runtime/kernel/conformance/test_all_types_proto2.js

@@ -4,7 +4,7 @@
 goog.module('proto.conformance.TestAllTypesProto2');
 
 const InternalMessage = goog.require('protobuf.binary.InternalMessage');
-const LazyAccessor = goog.require('protobuf.binary.LazyAccessor');
+const LazyAccessor = goog.require('protobuf.runtime.Kernel');
 
 /**
  * Handwritten code of conformance.TestAllTypesProto2.

+ 1 - 1
js/experimental/runtime/kernel/conformance/test_all_types_proto3.js

@@ -4,7 +4,7 @@
 goog.module('proto.conformance.TestAllTypesProto3');
 
 const InternalMessage = goog.require('protobuf.binary.InternalMessage');
-const LazyAccessor = goog.require('protobuf.binary.LazyAccessor');
+const LazyAccessor = goog.require('protobuf.runtime.Kernel');
 
 /**
  * Handwritten code of conformance.TestAllTypesProto3.

+ 1 - 1
js/experimental/runtime/kernel/internal_message.js

@@ -4,7 +4,7 @@
  */
 goog.module('protobuf.binary.InternalMessage');
 
-const LazyAccessor = goog.requireType('protobuf.binary.LazyAccessor');
+const LazyAccessor = goog.requireType('protobuf.runtime.Kernel');
 
 /**
  * Interface that needs to be implemented by messages implemented with the

+ 1 - 1
js/experimental/runtime/kernel/lazy_accessor.js

@@ -12,7 +12,7 @@
  * fields), LazyAccessor will only need the full type information of used
  * fields.
  */
-goog.module('protobuf.binary.LazyAccessor');
+goog.module('protobuf.runtime.Kernel');
 
 const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
 const ByteString = goog.require('protobuf.ByteString');

+ 2 - 2
js/experimental/runtime/kernel/lazy_accessor_compatibility_test.js

@@ -10,13 +10,13 @@
  * by binary_json_conformance_suite. Ultimately all of the tests in this file
  * should be moved to binary_json_conformance_suite.
  */
-goog.module('protobuf.binary.LazyAccessorCompatibilityTest');
+goog.module('protobuf.runtime.KernelCompatibilityTest');
 
 goog.setTestOnly();
 
 const ByteString = goog.require('protobuf.ByteString');
 const Int64 = goog.require('protobuf.Int64');
-const LazyAccessor = goog.require('protobuf.binary.LazyAccessor');
+const LazyAccessor = goog.require('protobuf.runtime.Kernel');
 const TestMessage = goog.require('protobuf.testing.binary.TestMessage');
 const {CHECK_CRITICAL_STATE} = goog.require('protobuf.internal.checks');
 

+ 2 - 2
js/experimental/runtime/kernel/lazy_accessor_repeated_test.js

@@ -1,14 +1,14 @@
 /**
  * @fileoverview Tests for repeated methods in lazy_accessor.js.
  */
-goog.module('protobuf.binary.LazyAccessorTest');
+goog.module('protobuf.runtime.KernelTest');
 
 goog.setTestOnly();
 
 const ByteString = goog.require('protobuf.ByteString');
 const Int64 = goog.require('protobuf.Int64');
 const InternalMessage = goog.require('protobuf.binary.InternalMessage');
-const LazyAccessor = goog.require('protobuf.binary.LazyAccessor');
+const LazyAccessor = goog.require('protobuf.runtime.Kernel');
 const TestMessage = goog.require('protobuf.testing.binary.TestMessage');
 // Note to the reader:
 // Since the lazy accessor behavior changes with the checking level some of the

+ 2 - 2
js/experimental/runtime/kernel/lazy_accessor_test.js

@@ -1,14 +1,14 @@
 /**
  * @fileoverview Tests for lazy_accessor.js.
  */
-goog.module('protobuf.binary.LazyAccessorTest');
+goog.module('protobuf.runtime.KernelTest');
 
 goog.setTestOnly();
 
 const ByteString = goog.require('protobuf.ByteString');
 const Int64 = goog.require('protobuf.Int64');
 const InternalMessage = goog.require('protobuf.binary.InternalMessage');
-const LazyAccessor = goog.require('protobuf.binary.LazyAccessor');
+const LazyAccessor = goog.require('protobuf.runtime.Kernel');
 const TestMessage = goog.require('protobuf.testing.binary.TestMessage');
 // Note to the reader:
 // Since the lazy accessor behavior changes with the checking level some of the

+ 1 - 1
js/experimental/runtime/testing/binary/test_message.js

@@ -6,7 +6,7 @@ goog.module('protobuf.testing.binary.TestMessage');
 const ByteString = goog.require('protobuf.ByteString');
 const Int64 = goog.require('protobuf.Int64');
 const InternalMessage = goog.require('protobuf.binary.InternalMessage');
-const LazyAccessor = goog.require('protobuf.binary.LazyAccessor');
+const LazyAccessor = goog.require('protobuf.runtime.Kernel');
 
 /**
  * A protobuf message implemented as a LazyAccessor wrapper.