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

Side by Side Diff: components/device_event_log/device_event_log_impl_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (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 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 "components/device_event_log/device_event_log_impl.h" 5 #include "components/device_event_log/device_event_log_impl.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 #include <string> 10 #include <string>
9 11
10 #include "base/basictypes.h"
11 #include "base/bind.h" 12 #include "base/bind.h"
12 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
13 #include "base/format_macros.h" 14 #include "base/format_macros.h"
15 #include "base/macros.h"
14 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
15 #include "base/strings/string_split.h" 17 #include "base/strings/string_split.h"
16 #include "base/strings/stringprintf.h" 18 #include "base/strings/stringprintf.h"
17 #include "base/test/test_simple_task_runner.h" 19 #include "base/test/test_simple_task_runner.h"
18 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
19 21
20 namespace device_event_log { 22 namespace device_event_log {
21 23
22 namespace { 24 namespace {
23 25
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 "Power: event2\n" 289 "Power: event2\n"
288 "Network: event3\n" 290 "Network: event3\n"
289 "Power: event4\n" 291 "Power: event4\n"
290 "Network: event5\n" 292 "Network: event5\n"
291 "Network: event6\n"); 293 "Network: event6\n");
292 EXPECT_EQ(all_events, GetLogStringForType("network,power")); 294 EXPECT_EQ(all_events, GetLogStringForType("network,power"));
293 EXPECT_EQ(all_events, GetLogStringForType("")); 295 EXPECT_EQ(all_events, GetLogStringForType(""));
294 } 296 }
295 297
296 } // namespace device_event_log 298 } // namespace device_event_log
OLDNEW
« no previous file with comments | « components/device_event_log/device_event_log_impl.h ('k') | components/devtools_discovery/devtools_discovery_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698