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

Side by Side Diff: third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc

Issue 1971743003: Fix include path for moved thread_task_runner_handle.h header in third_party/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: fix one more recent include Created 4 years, 7 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 "third_party/libaddressinput/chromium/chrome_metadata_source.h" 5 #include "third_party/libaddressinput/chromium/chrome_metadata_source.h"
6 6
7 #include "base/thread_task_runner_handle.h" 7 #include "base/threading/thread_task_runner_handle.h"
8 #include "net/url_request/test_url_fetcher_factory.h" 8 #include "net/url_request/test_url_fetcher_factory.h"
9 #include "net/url_request/url_request_test_util.h" 9 #include "net/url_request/url_request_test_util.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 namespace autofill { 12 namespace autofill {
13 13
14 static const char kFakeUrl[] = "https://example.com"; 14 static const char kFakeUrl[] = "https://example.com";
15 static const char kFakeInsecureUrl[] = "http://example.com"; 15 static const char kFakeInsecureUrl[] = "http://example.com";
16 16
17 class ChromeMetadataSourceTest : public testing::Test { 17 class ChromeMetadataSourceTest : public testing::Test {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 TEST_F(ChromeMetadataSourceTest, RejectsInsecureScheme) { 91 TEST_F(ChromeMetadataSourceTest, RejectsInsecureScheme) {
92 const char kFakePayload[] = "ham hock"; 92 const char kFakePayload[] = "ham hock";
93 set_url(GURL(kFakeInsecureUrl)); 93 set_url(GURL(kFakeInsecureUrl));
94 SetFakeResponse(kFakePayload, net::HTTP_OK); 94 SetFakeResponse(kFakePayload, net::HTTP_OK);
95 Get(); 95 Get();
96 EXPECT_FALSE(success()); 96 EXPECT_FALSE(success());
97 EXPECT_TRUE(!has_data() || data().empty()); 97 EXPECT_TRUE(!has_data() || data().empty());
98 } 98 }
99 99
100 } // namespace autofill 100 } // namespace autofill
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp ('k') | third_party/zlib/google/zip_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698