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

Side by Side Diff: google_apis/gcm/base/mcs_message_unittest.cc

Issue 1968043003: Fix include path for moved thread_task_runner_handle.h header in google_apis/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/base/mcs_message.h" 5 #include "google_apis/gcm/base/mcs_message.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/test/test_simple_task_runner.h" 11 #include "base/test/test_simple_task_runner.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "google_apis/gcm/base/mcs_util.h" 13 #include "google_apis/gcm/base/mcs_util.h"
14 #include "google_apis/gcm/protocol/mcs.pb.h" 14 #include "google_apis/gcm/protocol/mcs.pb.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 namespace gcm { 17 namespace gcm {
18 18
19 const uint64_t kAndroidId = 12345; 19 const uint64_t kAndroidId = 12345;
20 const uint64_t kSecret = 54321; 20 const uint64_t kSecret = 54321;
21 21
22 class MCSMessageTest : public testing::Test { 22 class MCSMessageTest : public testing::Test {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 EXPECT_EQ(login_request->ByteSize(), message.size()); 90 EXPECT_EQ(login_request->ByteSize(), message.size());
91 EXPECT_EQ(login_request->SerializeAsString(), message.SerializeAsString()); 91 EXPECT_EQ(login_request->SerializeAsString(), message.SerializeAsString());
92 EXPECT_EQ(login_request->SerializeAsString(), 92 EXPECT_EQ(login_request->SerializeAsString(),
93 message.GetProtobuf().SerializeAsString()); 93 message.GetProtobuf().SerializeAsString());
94 login_copy = message.CloneProtobuf(); 94 login_copy = message.CloneProtobuf();
95 EXPECT_EQ(login_request->SerializeAsString(), 95 EXPECT_EQ(login_request->SerializeAsString(),
96 login_copy->SerializeAsString()); 96 login_copy->SerializeAsString());
97 } 97 }
98 98
99 } // namespace gcm 99 } // namespace gcm
OLDNEW
« no previous file with comments | « google_apis/gaia/ubertoken_fetcher_unittest.cc ('k') | google_apis/gcm/engine/checkin_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698