Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: components/gcm_driver/gcm_stats_recorder_impl_unittest.cc

Issue 310973002: Move GCMClient related files to gcm_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « components/gcm_driver/gcm_stats_recorder_impl.cc ('k') | components/invalidation/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
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
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
OLDNEW
« no previous file with comments | « components/gcm_driver/gcm_stats_recorder_impl.cc ('k') | components/invalidation/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698