OLD | NEW |
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 "extensions/common/url_pattern_set.h" | 5 #include "extensions/common/url_pattern_set.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <sstream> | 9 #include <sstream> |
8 | 10 |
9 #include "base/values.h" | 11 #include "base/values.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
11 #include "url/gurl.h" | 13 #include "url/gurl.h" |
12 | 14 |
13 namespace extensions { | 15 namespace extensions { |
14 | 16 |
15 namespace { | 17 namespace { |
16 | 18 |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 const auto begin = string_vector->begin(); | 470 const auto begin = string_vector->begin(); |
469 const auto end = string_vector->end(); | 471 const auto end = string_vector->end(); |
470 | 472 |
471 auto it = std::find(begin, end, "https://google.com/"); | 473 auto it = std::find(begin, end, "https://google.com/"); |
472 EXPECT_NE(it, end); | 474 EXPECT_NE(it, end); |
473 it = std::find(begin, end, "https://yahoo.com/"); | 475 it = std::find(begin, end, "https://yahoo.com/"); |
474 EXPECT_NE(it, end); | 476 EXPECT_NE(it, end); |
475 } | 477 } |
476 | 478 |
477 } // namespace extensions | 479 } // namespace extensions |
OLD | NEW |