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

Side by Side Diff: extensions/common/url_pattern_set_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.cc ('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 "base/values.h" 7 #include "base/values.h"
8 #include "googleurl/src/gurl.h"
9 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 #include "url/gurl.h"
10 10
11 namespace extensions { 11 namespace extensions {
12 12
13 namespace { 13 namespace {
14 14
15 void AddPattern(URLPatternSet* set, const std::string& pattern) { 15 void AddPattern(URLPatternSet* set, const std::string& pattern) {
16 int schemes = URLPattern::SCHEME_ALL; 16 int schemes = URLPattern::SCHEME_ALL;
17 set->AddPattern(URLPattern(schemes, pattern)); 17 set->AddPattern(URLPattern(schemes, pattern));
18 } 18 }
19 19
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 AddPattern(&expected, yahoo_b); 387 AddPattern(&expected, yahoo_b);
388 AddPattern(&expected, yahoo_c); 388 AddPattern(&expected, yahoo_c);
389 AddPattern(&expected, reddit_a); 389 AddPattern(&expected, reddit_a);
390 AddPattern(&expected, reddit_b); 390 AddPattern(&expected, reddit_b);
391 AddPattern(&expected, reddit_c); 391 AddPattern(&expected, reddit_c);
392 EXPECT_EQ(expected, result); 392 EXPECT_EQ(expected, result);
393 } 393 }
394 } 394 }
395 395
396 } // namespace extensions 396 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/url_pattern_set.cc ('k') | extensions/common/url_pattern_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698