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

Unified Diff: chrome/browser/ui/cocoa/content_settings/cookie_details_unittest.mm

Issue 7692016: Delete indexedDBs from the cookie tree ui. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
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]);
« no previous file with comments | « chrome/browser/ui/cocoa/content_settings/cookie_details.mm ('k') | chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698