diff options
author | mseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-06 04:15:59 +0000 |
---|---|---|
committer | mseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-06 04:15:59 +0000 |
commit | b64a6c59bee9ccd1ed242be2000f7d5b201135a4 (patch) | |
tree | 36d74daa4b8d31007674c230ec7f54ea7f956a12 /google_apis | |
parent | 716e92f47d414aceb58466ece177d57f6611e856 (diff) | |
download | chromium_src-b64a6c59bee9ccd1ed242be2000f7d5b201135a4.zip chromium_src-b64a6c59bee9ccd1ed242be2000f7d5b201135a4.tar.gz chromium_src-b64a6c59bee9ccd1ed242be2000f7d5b201135a4.tar.bz2 |
Fix typo, "recieve" -> "receive", in google_apis/
BUG=none
TEST=none
Review URL: https://codereview.chromium.org/267933002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268414 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_apis')
-rw-r--r-- | google_apis/gcm/gcm_client_impl.cc | 4 | ||||
-rw-r--r-- | google_apis/gcm/monitoring/gcm_stats_recorder.cc | 2 | ||||
-rw-r--r-- | google_apis/gcm/monitoring/gcm_stats_recorder.h | 2 | ||||
-rw-r--r-- | google_apis/gcm/monitoring/gcm_stats_recorder_unittest.cc | 14 |
4 files changed, 11 insertions, 11 deletions
diff --git a/google_apis/gcm/gcm_client_impl.cc b/google_apis/gcm/gcm_client_impl.cc index e5c13da..a0a2142 100644 --- a/google_apis/gcm/gcm_client_impl.cc +++ b/google_apis/gcm/gcm_client_impl.cc @@ -702,7 +702,7 @@ void GCMClientImpl::HandleIncomingMessage(const gcm::MCSMessage& message) { HandleIncomingDataMessage(data_message_stanza, message_data); break; case DELETED_MESSAGES: - recorder_.RecordDataMessageRecieved(data_message_stanza.category(), + recorder_.RecordDataMessageReceived(data_message_stanza.category(), data_message_stanza.from(), data_message_stanza.ByteSize(), true, @@ -733,7 +733,7 @@ void GCMClientImpl::HandleIncomingDataMessage( std::find(iter->second->sender_ids.begin(), iter->second->sender_ids.end(), data_message_stanza.from()) == iter->second->sender_ids.end(); - recorder_.RecordDataMessageRecieved(app_id, data_message_stanza.from(), + recorder_.RecordDataMessageReceived(app_id, data_message_stanza.from(), data_message_stanza.ByteSize(), !not_registered, GCMStatsRecorder::DATA_MESSAGE); if (not_registered) { diff --git a/google_apis/gcm/monitoring/gcm_stats_recorder.cc b/google_apis/gcm/monitoring/gcm_stats_recorder.cc index 296397a..649720f 100644 --- a/google_apis/gcm/monitoring/gcm_stats_recorder.cc +++ b/google_apis/gcm/monitoring/gcm_stats_recorder.cc @@ -380,7 +380,7 @@ void GCMStatsRecorder::RecordReceiving( inserted_data->details = details; } -void GCMStatsRecorder::RecordDataMessageRecieved( +void GCMStatsRecorder::RecordDataMessageReceived( const std::string& app_id, const std::string& from, int message_byte_size, diff --git a/google_apis/gcm/monitoring/gcm_stats_recorder.h b/google_apis/gcm/monitoring/gcm_stats_recorder.h index ddae294..ffee1ae 100644 --- a/google_apis/gcm/monitoring/gcm_stats_recorder.h +++ b/google_apis/gcm/monitoring/gcm_stats_recorder.h @@ -176,7 +176,7 @@ class GCM_EXPORT GCMStatsRecorder { // sent to a registered app, to_registered_app shoudl be false. If it // indicates that a message has been dropped on the server, is_message_dropped // should be true. - void RecordDataMessageRecieved(const std::string& app_id, + void RecordDataMessageReceived(const std::string& app_id, const std::string& from, int message_byte_size, bool to_registered_app, diff --git a/google_apis/gcm/monitoring/gcm_stats_recorder_unittest.cc b/google_apis/gcm/monitoring/gcm_stats_recorder_unittest.cc index 5973d70..d33fc24 100644 --- a/google_apis/gcm/monitoring/gcm_stats_recorder_unittest.cc +++ b/google_apis/gcm/monitoring/gcm_stats_recorder_unittest.cc @@ -235,7 +235,7 @@ class GCMStatsRecorderTest : public testing::Test { remark); } - void VerifyDataMessageRecieved(const std::string& remark) { + void VerifyDataMessageReceived(const std::string& remark) { VerifyReceivingData(recorder_.receiving_activities(), kDataReceivedEvent, kDataReceivedDetails, @@ -249,7 +249,7 @@ class GCMStatsRecorderTest : public testing::Test { remark); } - void VerifyDataMessageRecievedNotRegistered(const std::string& remark) { + void VerifyDataMessageReceivedNotRegistered(const std::string& remark) { VerifyReceivingData(recorder_.receiving_activities(), kDataReceivedNotRegisteredEvent, kDataReceivedNotRegisteredDetails, @@ -441,20 +441,20 @@ TEST_F(GCMStatsRecorderTest, RegistrationTest) { } TEST_F(GCMStatsRecorderTest, RecordReceivingTest) { - recorder_.RecordDataMessageRecieved(kAppId, kFrom, kByteSize, true, + recorder_.RecordDataMessageReceived(kAppId, kFrom, kByteSize, true, GCMStatsRecorder::DATA_MESSAGE); VerifyRecordedReceivingCount(1); - VerifyDataMessageRecieved("1st call"); + VerifyDataMessageReceived("1st call"); - recorder_.RecordDataMessageRecieved(kAppId, kFrom, kByteSize, true, + recorder_.RecordDataMessageReceived(kAppId, kFrom, kByteSize, true, GCMStatsRecorder::DELETED_MESSAGES); VerifyRecordedReceivingCount(2); VerifyDataDeletedMessage("2nd call"); - recorder_.RecordDataMessageRecieved(kAppId, kFrom, kByteSize, false, + recorder_.RecordDataMessageReceived(kAppId, kFrom, kByteSize, false, GCMStatsRecorder::DATA_MESSAGE); VerifyRecordedReceivingCount(3); - VerifyDataMessageRecievedNotRegistered("3rd call"); + VerifyDataMessageReceivedNotRegistered("3rd call"); } TEST_F(GCMStatsRecorderTest, RecordSendingTest) { |