| 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());
|
|
|