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

Side by Side Diff: extensions/common/matcher/url_matcher_unittest.cc

Issue 16632010: Use a direct include of strings headers in extensions/, google_apis/, gpu/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
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/matcher/url_matcher.h" 5 #include "extensions/common/matcher/url_matcher.h"
6 6
7 #include "base/string_util.h" 7 #include "base/strings/string_util.h"
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace extensions { 11 namespace extensions {
12 12
13 // 13 //
14 // URLMatcherCondition 14 // URLMatcherCondition
15 // 15 //
16 16
17 TEST(URLMatcherConditionTest, Constructors) { 17 TEST(URLMatcherConditionTest, Constructors) {
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 conditions.insert(factory->CreateOriginAndPathMatchesCondition("val")); 671 conditions.insert(factory->CreateOriginAndPathMatchesCondition("val"));
672 const int kConditionSetId = 1; 672 const int kConditionSetId = 1;
673 URLMatcherConditionSet::Vector insert; 673 URLMatcherConditionSet::Vector insert;
674 insert.push_back(make_scoped_refptr( 674 insert.push_back(make_scoped_refptr(
675 new URLMatcherConditionSet(kConditionSetId, conditions))); 675 new URLMatcherConditionSet(kConditionSetId, conditions)));
676 matcher.AddConditionSets(insert); 676 matcher.AddConditionSets(insert);
677 EXPECT_EQ(0u, matcher.MatchURL(url).size()); 677 EXPECT_EQ(0u, matcher.MatchURL(url).size());
678 } 678 }
679 679
680 } // namespace extensions 680 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/matcher/url_matcher_factory_unittest.cc ('k') | extensions/common/url_pattern.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698