diff options
author | Daniel Martin <fizbin@gmail.com> | 2015-04-08 09:53:26 -0400 |
---|---|---|
committer | Daniel Martin <fizbin@gmail.com> | 2015-04-08 09:53:26 -0400 |
commit | 153a226a2aa4c98cce932350ff74b8b3eb089e28 (patch) | |
tree | a2396b7eea25e4fd2984c89337dccb5c1409ab09 /src/google/protobuf/compiler/java/java_extension.h | |
parent | e2416caf906a680a27bd89a91f14b2cdcaaa1634 (diff) | |
download | protobuf-153a226a2aa4c98cce932350ff74b8b3eb089e28.tar.gz protobuf-153a226a2aa4c98cce932350ff74b8b3eb089e28.tar.bz2 protobuf-153a226a2aa4c98cce932350ff74b8b3eb089e28.zip |
CR feedback: spacing, document return values
Diffstat (limited to 'src/google/protobuf/compiler/java/java_extension.h')
-rw-r--r-- | src/google/protobuf/compiler/java/java_extension.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/google/protobuf/compiler/java/java_extension.h b/src/google/protobuf/compiler/java/java_extension.h index fac5ba00..bdd42263 100644 --- a/src/google/protobuf/compiler/java/java_extension.h +++ b/src/google/protobuf/compiler/java/java_extension.h @@ -67,7 +67,11 @@ class ExtensionGenerator { virtual ~ExtensionGenerator() {} virtual void Generate(io::Printer* printer) = 0; + + // Returns an estimate of the number of bytes the printed code will compile to virtual int GenerateNonNestedInitializationCode(io::Printer* printer) = 0; + + // Returns an estimate of the number of bytes the printed code will compile to virtual int GenerateRegistrationCode(io::Printer* printer) = 0; protected: |