Respond with QuotaExceededError when IndexedDB has no disk space on open.
[chromium-blink-merge.git] / content / test / plugin / plugin_new_fails_test.h
blobb6074f628ef09ae65fb21ca78fee067317dc8a3b
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_TEST_PLUGIN_PLUGIN_PLUGIN_NEW_FAILS_TEST_H_
6 #define CONTENT_TEST_PLUGIN_PLUGIN_PLUGIN_NEW_FAILS_TEST_H_
8 #include "base/compiler_specific.h"
9 #include "content/test/plugin/plugin_test.h"
11 namespace NPAPIClient {
13 class NewFailsTest : public PluginTest {
14 public:
15 NewFailsTest(NPP id, NPNetscapeFuncs *host_functions);
16 virtual NPError New(uint16 mode, int16 argc, const char* argn[],
17 const char* argv[], NPSavedData* saved) OVERRIDE;
20 } // namespace NPAPIClient
22 #endif // CONTENT_TEST_PLUGIN_PLUGIN_PLUGIN_NPP_NEW_FAILS_TEST_H_