OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/variations/net/variations_http_headers.h" | 5 #include "components/variations/net/variations_http_headers.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 9 #include "base/macros.h" |
7 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
8 #include "components/google/core/browser/google_util.h" | 11 #include "components/google/core/browser/google_util.h" |
9 #include "components/variations/variations_http_header_provider.h" | 12 #include "components/variations/variations_http_header_provider.h" |
10 #include "net/http/http_request_headers.h" | 13 #include "net/http/http_request_headers.h" |
11 #include "url/gurl.h" | 14 #include "url/gurl.h" |
12 | 15 |
13 namespace variations { | 16 namespace variations { |
14 | 17 |
15 namespace { | 18 namespace { |
16 | 19 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 return true; | 92 return true; |
90 } | 93 } |
91 | 94 |
92 return google_util::IsYoutubeDomainUrl(url, google_util::ALLOW_SUBDOMAIN, | 95 return google_util::IsYoutubeDomainUrl(url, google_util::ALLOW_SUBDOMAIN, |
93 google_util::ALLOW_NON_STANDARD_PORTS); | 96 google_util::ALLOW_NON_STANDARD_PORTS); |
94 } | 97 } |
95 | 98 |
96 } // namespace internal | 99 } // namespace internal |
97 | 100 |
98 } // namespace variations | 101 } // namespace variations |
OLD | NEW |