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

Side by Side Diff: components/omnibox/browser/autocomplete_provider_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
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/omnibox/browser/autocomplete_provider.h" 5 #include "components/omnibox/browser/autocomplete_provider.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/command_line.h" 10 #include "base/command_line.h"
9 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
11 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
12 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
13 #include "base/strings/string16.h" 16 #include "base/strings/string16.h"
14 #include "base/strings/string_number_conversions.h" 17 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/string_util.h" 18 #include "base/strings/string_util.h"
16 #include "base/strings/utf_string_conversions.h" 19 #include "base/strings/utf_string_conversions.h"
17 #include "base/thread_task_runner_handle.h" 20 #include "base/thread_task_runner_handle.h"
18 #include "components/metrics/proto/omnibox_event.pb.h" 21 #include "components/metrics/proto/omnibox_event.pb.h"
19 #include "components/omnibox/browser/autocomplete_controller.h" 22 #include "components/omnibox/browser/autocomplete_controller.h"
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 EXPECT_FALSE(search_provider_field_trial_triggered_in_session()); 763 EXPECT_FALSE(search_provider_field_trial_triggered_in_session());
761 url = GetDestinationURL(match, base::TimeDelta::FromMilliseconds(2456)); 764 url = GetDestinationURL(match, base::TimeDelta::FromMilliseconds(2456));
762 EXPECT_EQ("//aqs=chrome.0.69i57j69i58j5l2j0l3j69i59.2456j0j4&", url.path()); 765 EXPECT_EQ("//aqs=chrome.0.69i57j69i58j5l2j0l3j69i59.2456j0j4&", url.path());
763 766
764 // Test page classification and field trial triggered set. 767 // Test page classification and field trial triggered set.
765 set_search_provider_field_trial_triggered_in_session(true); 768 set_search_provider_field_trial_triggered_in_session(true);
766 EXPECT_TRUE(search_provider_field_trial_triggered_in_session()); 769 EXPECT_TRUE(search_provider_field_trial_triggered_in_session());
767 url = GetDestinationURL(match, base::TimeDelta::FromMilliseconds(2456)); 770 url = GetDestinationURL(match, base::TimeDelta::FromMilliseconds(2456));
768 EXPECT_EQ("//aqs=chrome.0.69i57j69i58j5l2j0l3j69i59.2456j1j4&", url.path()); 771 EXPECT_EQ("//aqs=chrome.0.69i57j69i58j5l2j0l3j69i59.2456j1j4&", url.path());
769 } 772 }
OLDNEW
« no previous file with comments | « components/omnibox/browser/autocomplete_provider.h ('k') | components/omnibox/browser/autocomplete_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698