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

Side by Side Diff: components/omnibox/browser/physical_web_provider_unittest.cc

Issue 2712513004: Use a qualified path for grit-generated headers in components/ (Closed)
Patch Set: more checkdeps Created 3 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/physical_web_provider.h" 5 #include "components/omnibox/browser/physical_web_provider.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/metrics/field_trial.h" 11 #include "base/metrics/field_trial.h"
12 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "components/metrics/proto/omnibox_event.pb.h" 14 #include "components/metrics/proto/omnibox_event.pb.h"
15 #include "components/omnibox/browser/mock_autocomplete_provider_client.h" 15 #include "components/omnibox/browser/mock_autocomplete_provider_client.h"
16 #include "components/omnibox/browser/omnibox_field_trial.h" 16 #include "components/omnibox/browser/omnibox_field_trial.h"
17 #include "components/omnibox/browser/test_scheme_classifier.h" 17 #include "components/omnibox/browser/test_scheme_classifier.h"
18 #include "components/physical_web/data_source/fake_physical_web_data_source.h" 18 #include "components/physical_web/data_source/fake_physical_web_data_source.h"
19 #include "components/physical_web/data_source/physical_web_data_source.h" 19 #include "components/physical_web/data_source/physical_web_data_source.h"
20 #include "components/physical_web/data_source/physical_web_listener.h" 20 #include "components/physical_web/data_source/physical_web_listener.h"
21 #include "components/strings/grit/components_strings.h"
21 #include "components/variations/entropy_provider.h" 22 #include "components/variations/entropy_provider.h"
22 #include "components/variations/variations_associated_data.h" 23 #include "components/variations/variations_associated_data.h"
23 #include "grit/components_strings.h"
24 #include "testing/gmock/include/gmock/gmock.h" 24 #include "testing/gmock/include/gmock/gmock.h"
25 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
26 #include "ui/base/l10n/l10n_util.h" 26 #include "ui/base/l10n/l10n_util.h"
27 #include "ui/gfx/text_elider.h" 27 #include "ui/gfx/text_elider.h"
28 #include "url/gurl.h" 28 #include "url/gurl.h"
29 29
30 using physical_web::FakePhysicalWebDataSource; 30 using physical_web::FakePhysicalWebDataSource;
31 using physical_web::PhysicalWebDataSource; 31 using physical_web::PhysicalWebDataSource;
32 using physical_web::PhysicalWebListener; 32 using physical_web::PhysicalWebListener;
33 33
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 421
422 FakePhysicalWebDataSource* data_source = 422 FakePhysicalWebDataSource* data_source =
423 client_->GetFakePhysicalWebDataSource(); 423 client_->GetFakePhysicalWebDataSource();
424 EXPECT_TRUE(data_source); 424 EXPECT_TRUE(data_source);
425 425
426 data_source->SetMetadataList(CreateMetadata(1)); 426 data_source->SetMetadataList(CreateMetadata(1));
427 provider_->Start(CreateInputForNTP(), false); 427 provider_->Start(CreateInputForNTP(), false);
428 428
429 EXPECT_TRUE(provider_->matches().empty()); 429 EXPECT_TRUE(provider_->matches().empty());
430 } 430 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698