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

Unified Diff: content/browser/devtools/protocol/devtools_protocol_browsertest.cc

Issue 977553003: DevTools: remove usage and quota getter from the protocol handler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@946713002
Patch Set: removed the test. Created 5 years, 10 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
« no previous file with comments | « no previous file | content/browser/devtools/protocol/page_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/protocol/devtools_protocol_browsertest.cc
diff --git a/content/browser/devtools/protocol/devtools_protocol_browsertest.cc b/content/browser/devtools/protocol/devtools_protocol_browsertest.cc
index 31ccdbea295f481c0a10cf91b0dfe213fa46b226..cbbd46a45d295946600f702d5fff79d678964eb5 100644
--- a/content/browser/devtools/protocol/devtools_protocol_browsertest.cc
+++ b/content/browser/devtools/protocol/devtools_protocol_browsertest.cc
@@ -96,20 +96,6 @@ class DevToolsProtocolTest : public ContentBrowserTest,
}
};
-IN_PROC_BROWSER_TEST_F(DevToolsProtocolTest, QueryUsageAndQuota) {
- scoped_ptr<base::DictionaryValue> params(new base::DictionaryValue);
- params->SetString("securityOrigin", "http://example.com");
- SendCommand("Page.queryUsageAndQuota", params.Pass());
-
- EXPECT_TRUE(HasValue("quota.persistent"));
- EXPECT_TRUE(HasValue("quota.temporary"));
- EXPECT_TRUE(HasListItem("usage.temporary", "id", "appcache"));
- EXPECT_TRUE(HasListItem("usage.temporary", "id", "database"));
- EXPECT_TRUE(HasListItem("usage.temporary", "id", "indexeddatabase"));
- EXPECT_TRUE(HasListItem("usage.temporary", "id", "filesystem"));
- EXPECT_TRUE(HasListItem("usage.persistent", "id", "filesystem"));
-}
-
class CaptureScreenshotTest : public DevToolsProtocolTest {
private:
#if !defined(OS_ANDROID)
« no previous file with comments | « no previous file | content/browser/devtools/protocol/page_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698