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

Side by Side Diff: webkit/appcache/manifest_parser_unittest.cc

Issue 521009: Clarify licenses on a bunch of files. (Closed)
Patch Set: Created 10 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 (c) 2009 The Chromium Authos. All rights reserved. 1 // Copyright (c) 2009 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 <string> 5 #include <string>
6 6
7 #include "googleurl/src/gurl.h" 7 #include "googleurl/src/gurl.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 #include "webkit/appcache/manifest_parser.h" 9 #include "webkit/appcache/manifest_parser.h"
10 10
11 namespace appcache { 11 namespace appcache {
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 "CACHE MANIFEST\r" 308 "CACHE MANIFEST\r"
309 "resource.txt this stuff after the white space should be ignored\r"); 309 "resource.txt this stuff after the white space should be ignored\r");
310 EXPECT_TRUE(ParseManifest(kUrl, kData.c_str(), kData.length(), manifest)); 310 EXPECT_TRUE(ParseManifest(kUrl, kData.c_str(), kData.length(), manifest));
311 311
312 base::hash_set<std::string> urls = manifest.explicit_urls; 312 base::hash_set<std::string> urls = manifest.explicit_urls;
313 EXPECT_TRUE(urls.find("http://smorg.borg/resource.txt") != urls.end()); 313 EXPECT_TRUE(urls.find("http://smorg.borg/resource.txt") != urls.end());
314 } 314 }
315 315
316 } // namespace appcache 316 } // namespace appcache
317 317
OLDNEW
« no previous file with comments | « webkit/appcache/appcache_url_request_job_unittest.cc ('k') | webkit/appcache/mock_appcache_storage_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698