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

Side by Side Diff: chrome/service/cloud_print/printer_job_queue_handler_unittest.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "chrome/service/cloud_print/printer_job_queue_handler.h" 5 #include "chrome/service/cloud_print/printer_job_queue_handler.h"
6 6
7 #include <stddef.h>
8
7 #include <set> 9 #include <set>
8 10
9 #include "base/json/json_reader.h" 11 #include "base/json/json_reader.h"
10 #include "base/values.h" 12 #include "base/values.h"
11 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
12 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
13 15
14 using ::testing::Return; 16 using ::testing::Return;
15 using ::testing::AtLeast; 17 using ::testing::AtLeast;
16 18
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 .WillByDefault(Return(base::Time::UnixEpoch() + 173 .WillByDefault(Return(base::Time::UnixEpoch() +
172 base::TimeDelta::FromSeconds(4) + time_to_wait)); 174 base::TimeDelta::FromSeconds(4) + time_to_wait));
173 175
174 job_queue_handler.GetJobsFromQueue(GetAsDictionary(), &jobs); 176 job_queue_handler.GetJobsFromQueue(GetAsDictionary(), &jobs);
175 177
176 EXPECT_EQ(base::TimeDelta(), jobs[0].time_remaining_); 178 EXPECT_EQ(base::TimeDelta(), jobs[0].time_remaining_);
177 EXPECT_EQ(std::string("__testjob2"), jobs[0].job_id_); 179 EXPECT_EQ(std::string("__testjob2"), jobs[0].job_id_);
178 } 180 }
179 181
180 } // namespace cloud_print 182 } // namespace cloud_print
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/printer_job_queue_handler.cc ('k') | chrome/service/net/service_url_request_context_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698