| Index: chrome/browser/ui/cocoa/content_settings/cookie_details_unittest.mm
|
| ===================================================================
|
| --- chrome/browser/ui/cocoa/content_settings/cookie_details_unittest.mm (revision 97928)
|
| +++ chrome/browser/ui/cocoa/content_settings/cookie_details_unittest.mm (working copy)
|
| @@ -140,27 +140,17 @@
|
| TEST_F(CookiesDetailsTest, CreateForTreeIndexedDB) {
|
| scoped_nsobject<CocoaCookieDetails> details;
|
|
|
| - std::string protocol("http");
|
| - std::string host("moose.org");
|
| - unsigned short port = 80;
|
| - std::string database_identifier("id");
|
| - std::string origin("moose.org");
|
| - FilePath file_path(FILE_PATH_LITERAL("/"));
|
| + GURL origin("http://moose.org/");
|
| int64 size = 1234;
|
| base::Time last_modified = base::Time::Now();
|
| - BrowsingDataIndexedDBHelper::IndexedDBInfo info(protocol,
|
| - host,
|
| - port,
|
| - database_identifier,
|
| - origin,
|
| - file_path,
|
| + BrowsingDataIndexedDBHelper::IndexedDBInfo info(origin,
|
| size,
|
| last_modified);
|
|
|
| details.reset([[CocoaCookieDetails alloc] initWithIndexedDBInfo:&info]);
|
|
|
| EXPECT_EQ([details.get() type], kCocoaCookieDetailsTypeTreeIndexedDB);
|
| - EXPECT_NSEQ(@"moose.org", [details.get() domain]);
|
| + EXPECT_NSEQ(@"http://moose.org/", [details.get() domain]);
|
| EXPECT_NSEQ(@"1,234 B", [details.get() fileSize]);
|
| EXPECT_NSNE(@"", [details.get() lastModified]);
|
|
|
|
|