OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "google_apis/gcm/monitoring/gcm_stats_recorder_impl.h" | 5 #include "components/gcm_driver/gcm_stats_recorder_impl.h" |
fgorski
2014/06/03 23:27:48
are we putting everything in a flat folder now?
jianli
2014/06/03 23:31:24
Yes.
| |
6 | 6 |
7 #include <deque> | 7 #include <deque> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "google_apis/gcm/engine/mcs_client.h" | 11 #include "google_apis/gcm/engine/mcs_client.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
13 | 13 |
14 namespace gcm { | 14 namespace gcm { |
15 | 15 |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
514 recorder_.RecordIncomingSendError(kAppId, kReceiverId, kMessageId); | 514 recorder_.RecordIncomingSendError(kAppId, kReceiverId, kMessageId); |
515 VerifyRecordedSendingCount(3); | 515 VerifyRecordedSendingCount(3); |
516 VerifyIncomingSendError("3rd call"); | 516 VerifyIncomingSendError("3rd call"); |
517 | 517 |
518 recorder_.RecordDataSentToWire(kAppId, kReceiverId, kMessageId, kQueuedSec); | 518 recorder_.RecordDataSentToWire(kAppId, kReceiverId, kMessageId, kQueuedSec); |
519 VerifyRecordedSendingCount(4); | 519 VerifyRecordedSendingCount(4); |
520 VerifyDataSentToWire("4th call"); | 520 VerifyDataSentToWire("4th call"); |
521 } | 521 } |
522 | 522 |
523 } // namespace gcm | 523 } // namespace gcm |
OLD | NEW |