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

Unified Diff: extensions/browser/api/test/test_api.cc

Issue 411053002: Remove bookmarks API client-side write operations limits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: fully remove test helper Created 6 years, 5 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 | « extensions/browser/api/test/test_api.h ('k') | extensions/browser/quota_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/test/test_api.cc
diff --git a/extensions/browser/api/test/test_api.cc b/extensions/browser/api/test/test_api.cc
index 87252b70faff8e79527943da04e994c14c3a35ff..a57bb1eebd0a5e7e8db28358b0a91832ce9710ee 100644
--- a/extensions/browser/api/test/test_api.cc
+++ b/extensions/browser/api/test/test_api.cc
@@ -13,7 +13,6 @@
#include "content/public/common/content_switches.h"
#include "extensions/browser/extension_function_dispatcher.h"
#include "extensions/browser/extension_system.h"
-#include "extensions/browser/quota_service.h"
#include "extensions/common/api/test.h"
namespace {
@@ -77,16 +76,6 @@ bool TestLogFunction::RunSafe() {
return true;
}
-TestResetQuotaFunction::~TestResetQuotaFunction() {}
-
-bool TestResetQuotaFunction::RunSafe() {
- QuotaService* quota =
- ExtensionSystem::Get(browser_context())->quota_service();
- quota->Purge();
- quota->violation_errors_.clear();
- return true;
-}
-
bool TestSendMessageFunction::RunAsync() {
scoped_ptr<PassMessage::Params> params(PassMessage::Params::Create(*args_));
EXTENSION_FUNCTION_VALIDATE(params.get());
« no previous file with comments | « extensions/browser/api/test/test_api.h ('k') | extensions/browser/quota_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698