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

Side by Side Diff: extensions/common/url_pattern_set_unittest.cc

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: 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
« no previous file with comments | « extensions/common/url_pattern_set.h ('k') | extensions/common/url_pattern_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « extensions/common/url_pattern_set.h ('k') | extensions/common/url_pattern_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698