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

Side by Side Diff: net/base/filename_util_unittest.cc

Issue 260903011: Renamed namespaces of url lib and removed namespace aliases. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Thu 05/01/2014 11:38:37.95 Created 6 years, 7 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 | « components/autofill/content/browser/wallet/wallet_service_url.cc ('k') | url/gurl_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "net/base/filename_util.h" 5 #include "net/base/filename_util.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 "http://www.google.com/test.html", 504 "http://www.google.com/test.html",
505 "", 505 "",
506 "", 506 "",
507 "", 507 "",
508 "", 508 "",
509 L"", 509 L"",
510 L"test.html" 510 L"test.html"
511 }, 511 },
512 { // Now that we use src/url's ExtractFileName, this case falls back to 512 { // Now that we use src/url's ExtractFileName, this case falls back to
513 // the hostname. If this behavior is not desirable, we'd better change 513 // the hostname. If this behavior is not desirable, we'd better change
514 // ExtractFileName (in url_parse). 514 // ExtractFileName (in url_parse.cc).
515 __LINE__, 515 __LINE__,
516 "http://www.google.com/path/", 516 "http://www.google.com/path/",
517 "", 517 "",
518 "", 518 "",
519 "", 519 "",
520 "", 520 "",
521 L"", 521 L"",
522 L"www.google.com" 522 L"www.google.com"
523 }, 523 },
524 { 524 {
(...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1643 RunGenerateFileNameTestCase(&generation_tests[i]); 1643 RunGenerateFileNameTestCase(&generation_tests[i]);
1644 1644
1645 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(generation_tests); ++i) { 1645 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(generation_tests); ++i) {
1646 GenerateFilenameCase test_case = generation_tests[i]; 1646 GenerateFilenameCase test_case = generation_tests[i];
1647 test_case.referrer_charset = "GBK"; 1647 test_case.referrer_charset = "GBK";
1648 RunGenerateFileNameTestCase(&test_case); 1648 RunGenerateFileNameTestCase(&test_case);
1649 } 1649 }
1650 } 1650 }
1651 1651
1652 } // namespace net 1652 } // namespace net
OLDNEW
« no previous file with comments | « components/autofill/content/browser/wallet/wallet_service_url.cc ('k') | url/gurl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698