Refactored ReadFileData() function in the translator sample to fix many issues: - Memory leaks - Made compiling using multiple strings default. This was not getting exercised. - Removed redundant copies of file data - Handled empty files properly which were getting ignored BUG=66 Review URL: http://codereview.appspot.com/2579041
Refactored ReadFileData() function in the translator sample to fix many issues:
- Memory leaks
- Made compiling using multiple strings default. This was not getting exercised.
- Removed redundant copies of file data
- Handled empty files properly which were getting ignored
BUG=66
Review URL: http://codereview.appspot.com/2579041

csulmone/angle,csulmone/angle,csulmone/angle,csulmone/angle