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

Side by Side Diff: components/omnibox/browser/keyword_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 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 <stddef.h>
6
5 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/macros.h"
6 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
7 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
8 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
9 #include "components/metrics/proto/omnibox_event.pb.h" 12 #include "components/metrics/proto/omnibox_event.pb.h"
10 #include "components/omnibox/browser/autocomplete_match.h" 13 #include "components/omnibox/browser/autocomplete_match.h"
11 #include "components/omnibox/browser/autocomplete_scheme_classifier.h" 14 #include "components/omnibox/browser/autocomplete_scheme_classifier.h"
12 #include "components/omnibox/browser/keyword_provider.h" 15 #include "components/omnibox/browser/keyword_provider.h"
13 #include "components/omnibox/browser/mock_autocomplete_provider_client.h" 16 #include "components/omnibox/browser/mock_autocomplete_provider_client.h"
14 #include "components/omnibox/browser/omnibox_field_trial.h" 17 #include "components/omnibox/browser/omnibox_field_trial.h"
15 #include "components/search_engines/search_engines_switches.h" 18 #include "components/search_engines/search_engines_switches.h"
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 529
527 TEST_F(KeywordProviderTest, DoesNotProvideMatchesOnFocus) { 530 TEST_F(KeywordProviderTest, DoesNotProvideMatchesOnFocus) {
528 SetUpClientAndKeywordProvider(); 531 SetUpClientAndKeywordProvider();
529 AutocompleteInput input(ASCIIToUTF16("aaa"), base::string16::npos, 532 AutocompleteInput input(ASCIIToUTF16("aaa"), base::string16::npos,
530 std::string(), GURL(), 533 std::string(), GURL(),
531 metrics::OmniboxEventProto::INVALID_SPEC, true, false, 534 metrics::OmniboxEventProto::INVALID_SPEC, true, false,
532 true, true, true, TestingSchemeClassifier()); 535 true, true, true, TestingSchemeClassifier());
533 kw_provider_->Start(input, false); 536 kw_provider_->Start(input, false);
534 ASSERT_TRUE(kw_provider_->matches().empty()); 537 ASSERT_TRUE(kw_provider_->matches().empty());
535 } 538 }
OLDNEW
« no previous file with comments | « components/omnibox/browser/keyword_provider.cc ('k') | components/omnibox/browser/mock_autocomplete_provider_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698