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

Side by Side Diff: components/rlz/rlz_tracker_unittest.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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
« no previous file with comments | « components/rlz/rlz_tracker.cc ('k') | components/safe_browsing_db/prefix_set.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/rlz/rlz_tracker.h" 5 #include "components/rlz/rlz_tracker.h"
6 6
7 #include "base/macros.h"
7 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
10 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
11 #include "base/test/sequenced_worker_pool_owner.h" 12 #include "base/test/sequenced_worker_pool_owner.h"
12 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
13 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "build/build_config.h"
14 #include "components/rlz/rlz_tracker_delegate.h" 16 #include "components/rlz/rlz_tracker_delegate.h"
15 #include "net/url_request/url_request_test_util.h" 17 #include "net/url_request/url_request_test_util.h"
16 #include "rlz/test/rlz_test_helpers.h" 18 #include "rlz/test/rlz_test_helpers.h"
17 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
18 20
19 #if defined(OS_IOS) 21 #if defined(OS_IOS)
20 #include "ui/base/device_form_factor.h" 22 #include "ui/base/device_form_factor.h"
21 #endif 23 #endif
22 24
23 using testing::AssertionResult; 25 using testing::AssertionResult;
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 1000
999 ExpectEventRecorded(OmniboxFirstSearch(), true); 1001 ExpectEventRecorded(OmniboxFirstSearch(), true);
1000 1002
1001 RLZTracker::ClearRlzState(); 1003 RLZTracker::ClearRlzState();
1002 1004
1003 ExpectEventRecorded(OmniboxFirstSearch(), false); 1005 ExpectEventRecorded(OmniboxFirstSearch(), false);
1004 } 1006 }
1005 #endif // defined(OS_CHROMEOS) 1007 #endif // defined(OS_CHROMEOS)
1006 1008
1007 } // namespace rlz 1009 } // namespace rlz
OLDNEW
« no previous file with comments | « components/rlz/rlz_tracker.cc ('k') | components/safe_browsing_db/prefix_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698