diff options
Diffstat (limited to 'chrome/common/extensions')
3 files changed, 5 insertions, 4 deletions
diff --git a/chrome/common/extensions/extension_localization_peer.cc b/chrome/common/extensions/extension_localization_peer.cc index 4bfb0d6..dfb4f1d 100644 --- a/chrome/common/extensions/extension_localization_peer.cc +++ b/chrome/common/extensions/extension_localization_peer.cc @@ -61,7 +61,7 @@ void ExtensionLocalizationPeer::OnReceivedResponse( void ExtensionLocalizationPeer::OnReceivedData(const char* data, int data_length, - int raw_data_length) { + int encoded_data_length) { data_.append(data, data_length); } diff --git a/chrome/common/extensions/extension_localization_peer.h b/chrome/common/extensions/extension_localization_peer.h index ad168fd..0a33bc9 100644 --- a/chrome/common/extensions/extension_localization_peer.h +++ b/chrome/common/extensions/extension_localization_peer.h @@ -41,7 +41,7 @@ class ExtensionLocalizationPeer virtual void OnDownloadedData(int len) {} virtual void OnReceivedData(const char* data, int data_length, - int raw_data_length); + int encoded_data_length); virtual void OnCompletedRequest(const net::URLRequestStatus& status, const std::string& security_info, const base::Time& completion_time); diff --git a/chrome/common/extensions/extension_localization_peer_unittest.cc b/chrome/common/extensions/extension_localization_peer_unittest.cc index 15aec31..df847ce 100644 --- a/chrome/common/extensions/extension_localization_peer_unittest.cc +++ b/chrome/common/extensions/extension_localization_peer_unittest.cc @@ -66,8 +66,9 @@ class MockResourceLoaderBridgePeer MOCK_METHOD1(OnReceivedResponse, void( const webkit_glue::ResourceResponseInfo& info)); MOCK_METHOD1(OnDownloadedData, void(int len)); - MOCK_METHOD3(OnReceivedData, - void(const char* data, int data_length, int raw_data_length)); + MOCK_METHOD3(OnReceivedData, void(const char* data, + int data_length, + int encoded_data_length)); MOCK_METHOD3(OnCompletedRequest, void( const net::URLRequestStatus& status, const std::string& security_info, |