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

Side by Side Diff: components/url_matcher/url_matcher_unittest.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/url_matcher/url_matcher.h" 5 #include "components/url_matcher/url_matcher.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 "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
9 #include "url/gurl.h" 12 #include "url/gurl.h"
10 13
11 namespace url_matcher { 14 namespace url_matcher {
12 15
13 // 16 //
14 // URLMatcherCondition 17 // URLMatcherCondition
15 // 18 //
16 19
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after
977 conditions.insert(factory->CreateOriginAndPathMatchesCondition("val")); 980 conditions.insert(factory->CreateOriginAndPathMatchesCondition("val"));
978 const int kConditionSetId = 1; 981 const int kConditionSetId = 1;
979 URLMatcherConditionSet::Vector insert; 982 URLMatcherConditionSet::Vector insert;
980 insert.push_back(make_scoped_refptr( 983 insert.push_back(make_scoped_refptr(
981 new URLMatcherConditionSet(kConditionSetId, conditions))); 984 new URLMatcherConditionSet(kConditionSetId, conditions)));
982 matcher.AddConditionSets(insert); 985 matcher.AddConditionSets(insert);
983 EXPECT_EQ(0u, matcher.MatchURL(url).size()); 986 EXPECT_EQ(0u, matcher.MatchURL(url).size());
984 } 987 }
985 988
986 } // namespace url_matcher 989 } // namespace url_matcher
OLDNEW
« no previous file with comments | « components/url_matcher/url_matcher_helpers.cc ('k') | components/user_manager/empty_user_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698