summaryrefslogtreecommitdiffstats
path: root/google_apis/gcm
diff options
context:
space:
mode:
authorDaniel Cheng <dcheng@chromium.org>2014-10-06 20:22:19 -0700
committerDaniel Cheng <dcheng@chromium.org>2014-10-07 03:23:01 +0000
commitd42a8f8372389ff80a2f0f55b8826318a6ed2c93 (patch)
tree21d3f15ac47b219ac38c0aaf59fd3ed0855d8049 /google_apis/gcm
parentd974ccd44609e4c7e4412f1af80818b81504851f (diff)
downloadchromium_src-d42a8f8372389ff80a2f0f55b8826318a6ed2c93.zip
chromium_src-d42a8f8372389ff80a2f0f55b8826318a6ed2c93.tar.gz
chromium_src-d42a8f8372389ff80a2f0f55b8826318a6ed2c93.tar.bz2
Rewrite line endings from CRLF to LF for a bunch of files.
There's a lot of other files with CRLF line endings in test data, third_party, and tools. Out of caution, those files have been left unchanged, in case anything depends on the CRLF being present. BUG=420796 TBR=darin@chromium.org, rsleevi@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/630333002 Cr-Commit-Position: refs/heads/master@{#298348}
Diffstat (limited to 'google_apis/gcm')
-rw-r--r--google_apis/gcm/monitoring/fake_gcm_stats_recorder.cc214
-rw-r--r--google_apis/gcm/monitoring/fake_gcm_stats_recorder.h142
2 files changed, 178 insertions, 178 deletions
diff --git a/google_apis/gcm/monitoring/fake_gcm_stats_recorder.cc b/google_apis/gcm/monitoring/fake_gcm_stats_recorder.cc
index 5ed8a1d..b324727 100644
--- a/google_apis/gcm/monitoring/fake_gcm_stats_recorder.cc
+++ b/google_apis/gcm/monitoring/fake_gcm_stats_recorder.cc
@@ -1,107 +1,107 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "google_apis/gcm/monitoring/fake_gcm_stats_recorder.h"
-
-namespace gcm {
-
-FakeGCMStatsRecorder::FakeGCMStatsRecorder() {
-}
-
-FakeGCMStatsRecorder::~FakeGCMStatsRecorder() {
-}
-
-void FakeGCMStatsRecorder::RecordCheckinInitiated(uint64 android_id) {
-}
-
-void FakeGCMStatsRecorder::RecordCheckinDelayedDueToBackoff(int64 delay_msec) {
-}
-
-void FakeGCMStatsRecorder::RecordCheckinSuccess() {
-}
-
-void FakeGCMStatsRecorder::RecordCheckinFailure(std::string status,
- bool will_retry) {
-}
-
-void FakeGCMStatsRecorder::RecordConnectionInitiated(const std::string& host) {
-}
-
-void FakeGCMStatsRecorder::RecordConnectionDelayedDueToBackoff(
- int64 delay_msec) {
-}
-
-void FakeGCMStatsRecorder::RecordConnectionSuccess() {
-}
-
-void FakeGCMStatsRecorder::RecordConnectionFailure(int network_error) {
-}
-
-void FakeGCMStatsRecorder::RecordConnectionResetSignaled(
- ConnectionFactory::ConnectionResetReason reason) {
-}
-
-void FakeGCMStatsRecorder::RecordRegistrationSent(
- const std::string& app_id,
- const std::string& sender_ids) {
-}
-
-void FakeGCMStatsRecorder::RecordRegistrationResponse(
- const std::string& app_id,
- const std::vector<std::string>& sender_ids,
- RegistrationRequest::Status status) {
-}
-
-void FakeGCMStatsRecorder::RecordRegistrationRetryRequested(
- const std::string& app_id,
- const std::vector<std::string>& sender_ids,
- int retries_left) {
-}
-
-void FakeGCMStatsRecorder::RecordUnregistrationSent(
- const std::string& app_id) {
-}
-
-void FakeGCMStatsRecorder::RecordUnregistrationResponse(
- const std::string& app_id,
- UnregistrationRequest::Status status) {
-}
-
-void FakeGCMStatsRecorder::RecordUnregistrationRetryDelayed(
- const std::string& app_id,
- int64 delay_msec) {
-}
-
-void FakeGCMStatsRecorder::RecordDataMessageReceived(
- const std::string& app_id,
- const std::string& from,
- int message_byte_size,
- bool to_registered_app,
- ReceivedMessageType message_type) {
-}
-
-void FakeGCMStatsRecorder::RecordDataSentToWire(
- const std::string& app_id,
- const std::string& receiver_id,
- const std::string& message_id,
- int queued) {
-}
-
-void FakeGCMStatsRecorder::RecordNotifySendStatus(
- const std::string& app_id,
- const std::string& receiver_id,
- const std::string& message_id,
- gcm::MCSClient::MessageSendStatus status,
- int byte_size,
- int ttl) {
-}
-
-void FakeGCMStatsRecorder::RecordIncomingSendError(
- const std::string& app_id,
- const std::string& receiver_id,
- const std::string& message_id) {
-}
-
-
-} // namespace gcm
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "google_apis/gcm/monitoring/fake_gcm_stats_recorder.h"
+
+namespace gcm {
+
+FakeGCMStatsRecorder::FakeGCMStatsRecorder() {
+}
+
+FakeGCMStatsRecorder::~FakeGCMStatsRecorder() {
+}
+
+void FakeGCMStatsRecorder::RecordCheckinInitiated(uint64 android_id) {
+}
+
+void FakeGCMStatsRecorder::RecordCheckinDelayedDueToBackoff(int64 delay_msec) {
+}
+
+void FakeGCMStatsRecorder::RecordCheckinSuccess() {
+}
+
+void FakeGCMStatsRecorder::RecordCheckinFailure(std::string status,
+ bool will_retry) {
+}
+
+void FakeGCMStatsRecorder::RecordConnectionInitiated(const std::string& host) {
+}
+
+void FakeGCMStatsRecorder::RecordConnectionDelayedDueToBackoff(
+ int64 delay_msec) {
+}
+
+void FakeGCMStatsRecorder::RecordConnectionSuccess() {
+}
+
+void FakeGCMStatsRecorder::RecordConnectionFailure(int network_error) {
+}
+
+void FakeGCMStatsRecorder::RecordConnectionResetSignaled(
+ ConnectionFactory::ConnectionResetReason reason) {
+}
+
+void FakeGCMStatsRecorder::RecordRegistrationSent(
+ const std::string& app_id,
+ const std::string& sender_ids) {
+}
+
+void FakeGCMStatsRecorder::RecordRegistrationResponse(
+ const std::string& app_id,
+ const std::vector<std::string>& sender_ids,
+ RegistrationRequest::Status status) {
+}
+
+void FakeGCMStatsRecorder::RecordRegistrationRetryRequested(
+ const std::string& app_id,
+ const std::vector<std::string>& sender_ids,
+ int retries_left) {
+}
+
+void FakeGCMStatsRecorder::RecordUnregistrationSent(
+ const std::string& app_id) {
+}
+
+void FakeGCMStatsRecorder::RecordUnregistrationResponse(
+ const std::string& app_id,
+ UnregistrationRequest::Status status) {
+}
+
+void FakeGCMStatsRecorder::RecordUnregistrationRetryDelayed(
+ const std::string& app_id,
+ int64 delay_msec) {
+}
+
+void FakeGCMStatsRecorder::RecordDataMessageReceived(
+ const std::string& app_id,
+ const std::string& from,
+ int message_byte_size,
+ bool to_registered_app,
+ ReceivedMessageType message_type) {
+}
+
+void FakeGCMStatsRecorder::RecordDataSentToWire(
+ const std::string& app_id,
+ const std::string& receiver_id,
+ const std::string& message_id,
+ int queued) {
+}
+
+void FakeGCMStatsRecorder::RecordNotifySendStatus(
+ const std::string& app_id,
+ const std::string& receiver_id,
+ const std::string& message_id,
+ gcm::MCSClient::MessageSendStatus status,
+ int byte_size,
+ int ttl) {
+}
+
+void FakeGCMStatsRecorder::RecordIncomingSendError(
+ const std::string& app_id,
+ const std::string& receiver_id,
+ const std::string& message_id) {
+}
+
+
+} // namespace gcm
diff --git a/google_apis/gcm/monitoring/fake_gcm_stats_recorder.h b/google_apis/gcm/monitoring/fake_gcm_stats_recorder.h
index 1ada611..95d9aa2 100644
--- a/google_apis/gcm/monitoring/fake_gcm_stats_recorder.h
+++ b/google_apis/gcm/monitoring/fake_gcm_stats_recorder.h
@@ -1,71 +1,71 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef GOOGLE_APIS_GCM_MONITORING_FAKE_GCM_STATS_RECODER_H_
-#define GOOGLE_APIS_GCM_MONITORING_FAKE_GCM_STATS_RECODER_H_
-
-#include "google_apis/gcm/monitoring/gcm_stats_recorder.h"
-
-namespace gcm {
-
-// The fake version of GCMStatsRecorder that does nothing.
-class FakeGCMStatsRecorder : public GCMStatsRecorder {
- public:
- FakeGCMStatsRecorder();
- virtual ~FakeGCMStatsRecorder();
-
- virtual void RecordCheckinInitiated(uint64 android_id) OVERRIDE;
- virtual void RecordCheckinDelayedDueToBackoff(int64 delay_msec) OVERRIDE;
- virtual void RecordCheckinSuccess() OVERRIDE;
- virtual void RecordCheckinFailure(std::string status,
- bool will_retry) OVERRIDE;
- virtual void RecordConnectionInitiated(const std::string& host) OVERRIDE;
- virtual void RecordConnectionDelayedDueToBackoff(int64 delay_msec) OVERRIDE;
- virtual void RecordConnectionSuccess() OVERRIDE;
- virtual void RecordConnectionFailure(int network_error) OVERRIDE;
- virtual void RecordConnectionResetSignaled(
- ConnectionFactory::ConnectionResetReason reason) OVERRIDE;
- virtual void RecordRegistrationSent(const std::string& app_id,
- const std::string& sender_ids) OVERRIDE;
- virtual void RecordRegistrationResponse(
- const std::string& app_id,
- const std::vector<std::string>& sender_ids,
- RegistrationRequest::Status status) OVERRIDE;
- virtual void RecordRegistrationRetryRequested(
- const std::string& app_id,
- const std::vector<std::string>& sender_ids,
- int retries_left) OVERRIDE;
- virtual void RecordUnregistrationSent(const std::string& app_id) OVERRIDE;
- virtual void RecordUnregistrationResponse(
- const std::string& app_id,
- UnregistrationRequest::Status status) OVERRIDE;
- virtual void RecordUnregistrationRetryDelayed(const std::string& app_id,
- int64 delay_msec) OVERRIDE;
- virtual void RecordDataMessageReceived(
- const std::string& app_id,
- const std::string& from,
- int message_byte_size,
- bool to_registered_app,
- ReceivedMessageType message_type) OVERRIDE;
- virtual void RecordDataSentToWire(const std::string& app_id,
- const std::string& receiver_id,
- const std::string& message_id,
- int queued) OVERRIDE;
- virtual void RecordNotifySendStatus(const std::string& app_id,
- const std::string& receiver_id,
- const std::string& message_id,
- MCSClient::MessageSendStatus status,
- int byte_size,
- int ttl) OVERRIDE;
- virtual void RecordIncomingSendError(const std::string& app_id,
- const std::string& receiver_id,
- const std::string& message_id) OVERRIDE;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(FakeGCMStatsRecorder);
-};
-
-} // namespace gcm
-
-#endif // GOOGLE_APIS_GCM_MONITORING_FAKE_GCM_STATS_RECODER_H_
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef GOOGLE_APIS_GCM_MONITORING_FAKE_GCM_STATS_RECODER_H_
+#define GOOGLE_APIS_GCM_MONITORING_FAKE_GCM_STATS_RECODER_H_
+
+#include "google_apis/gcm/monitoring/gcm_stats_recorder.h"
+
+namespace gcm {
+
+// The fake version of GCMStatsRecorder that does nothing.
+class FakeGCMStatsRecorder : public GCMStatsRecorder {
+ public:
+ FakeGCMStatsRecorder();
+ virtual ~FakeGCMStatsRecorder();
+
+ virtual void RecordCheckinInitiated(uint64 android_id) OVERRIDE;
+ virtual void RecordCheckinDelayedDueToBackoff(int64 delay_msec) OVERRIDE;
+ virtual void RecordCheckinSuccess() OVERRIDE;
+ virtual void RecordCheckinFailure(std::string status,
+ bool will_retry) OVERRIDE;
+ virtual void RecordConnectionInitiated(const std::string& host) OVERRIDE;
+ virtual void RecordConnectionDelayedDueToBackoff(int64 delay_msec) OVERRIDE;
+ virtual void RecordConnectionSuccess() OVERRIDE;
+ virtual void RecordConnectionFailure(int network_error) OVERRIDE;
+ virtual void RecordConnectionResetSignaled(
+ ConnectionFactory::ConnectionResetReason reason) OVERRIDE;
+ virtual void RecordRegistrationSent(const std::string& app_id,
+ const std::string& sender_ids) OVERRIDE;
+ virtual void RecordRegistrationResponse(
+ const std::string& app_id,
+ const std::vector<std::string>& sender_ids,
+ RegistrationRequest::Status status) OVERRIDE;
+ virtual void RecordRegistrationRetryRequested(
+ const std::string& app_id,
+ const std::vector<std::string>& sender_ids,
+ int retries_left) OVERRIDE;
+ virtual void RecordUnregistrationSent(const std::string& app_id) OVERRIDE;
+ virtual void RecordUnregistrationResponse(
+ const std::string& app_id,
+ UnregistrationRequest::Status status) OVERRIDE;
+ virtual void RecordUnregistrationRetryDelayed(const std::string& app_id,
+ int64 delay_msec) OVERRIDE;
+ virtual void RecordDataMessageReceived(
+ const std::string& app_id,
+ const std::string& from,
+ int message_byte_size,
+ bool to_registered_app,
+ ReceivedMessageType message_type) OVERRIDE;
+ virtual void RecordDataSentToWire(const std::string& app_id,
+ const std::string& receiver_id,
+ const std::string& message_id,
+ int queued) OVERRIDE;
+ virtual void RecordNotifySendStatus(const std::string& app_id,
+ const std::string& receiver_id,
+ const std::string& message_id,
+ MCSClient::MessageSendStatus status,
+ int byte_size,
+ int ttl) OVERRIDE;
+ virtual void RecordIncomingSendError(const std::string& app_id,
+ const std::string& receiver_id,
+ const std::string& message_id) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(FakeGCMStatsRecorder);
+};
+
+} // namespace gcm
+
+#endif // GOOGLE_APIS_GCM_MONITORING_FAKE_GCM_STATS_RECODER_H_