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

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

Issue 18919005: Migrate from googleurl/ includes to url/ ones in the remaining top-level directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make googleurl a temp include rule - to prevent others including it again Created 7 years, 5 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
« no previous file with comments | « extensions/common/url_pattern_set_unittest.cc ('k') | google_apis/gaia/gaia_auth_fetcher.h » ('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 "base/memory/scoped_ptr.h" 5 #include "base/memory/scoped_ptr.h"
6 #include "extensions/common/url_pattern.h" 6 #include "extensions/common/url_pattern.h"
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 #include "googleurl/src/gurl.h" 8 #include "url/gurl.h"
9 9
10 namespace { 10 namespace {
11 11
12 // See url_pattern.h for examples of valid and invalid patterns. 12 // See url_pattern.h for examples of valid and invalid patterns.
13 13
14 static const int kAllSchemes = 14 static const int kAllSchemes =
15 URLPattern::SCHEME_HTTP | 15 URLPattern::SCHEME_HTTP |
16 URLPattern::SCHEME_HTTPS | 16 URLPattern::SCHEME_HTTPS |
17 URLPattern::SCHEME_FILE | 17 URLPattern::SCHEME_FILE |
18 URLPattern::SCHEME_FTP | 18 URLPattern::SCHEME_FTP |
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 EXPECT_TRUE(StrictlyContains(pattern10, pattern12)); 793 EXPECT_TRUE(StrictlyContains(pattern10, pattern12));
794 EXPECT_TRUE(StrictlyContains(pattern10, pattern13)); 794 EXPECT_TRUE(StrictlyContains(pattern10, pattern13));
795 795
796 // More... 796 // More...
797 EXPECT_TRUE(StrictlyContains(pattern12, pattern11)); 797 EXPECT_TRUE(StrictlyContains(pattern12, pattern11));
798 EXPECT_TRUE(NeitherContains(pattern11, pattern13)); 798 EXPECT_TRUE(NeitherContains(pattern11, pattern13));
799 EXPECT_TRUE(StrictlyContains(pattern12, pattern13)); 799 EXPECT_TRUE(StrictlyContains(pattern12, pattern13));
800 } 800 }
801 801
802 } // namespace 802 } // namespace
OLDNEW
« no previous file with comments | « extensions/common/url_pattern_set_unittest.cc ('k') | google_apis/gaia/gaia_auth_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698