Respond with QuotaExceededError when IndexedDB has no disk space on open.
[chromium-blink-merge.git] / content / test / content_test_suite.h
blob510ab2d9aac70294fc9bdccdf77530b1da935697
1 // Copyright (c) 2012 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_CONTENT_TEST_SUITE_H_
6 #define CONTENT_TEST_CONTENT_TEST_SUITE_H_
8 #include "base/compiler_specific.h"
9 #include "content/public/test/content_test_suite_base.h"
11 #if defined(OS_WIN)
12 #include "base/win/scoped_com_initializer.h"
13 #endif
15 #if defined(USE_AURA)
16 namespace aura {
17 namespace test {
18 class TestAuraInitializer;
19 } // namespace test
20 } // namespace aura
21 #endif
23 namespace content {
25 class ContentTestSuite : public ContentTestSuiteBase {
26 public:
27 ContentTestSuite(int argc, char** argv);
28 virtual ~ContentTestSuite();
30 protected:
31 virtual void Initialize() OVERRIDE;
33 virtual ContentClient* CreateClientForInitialization() OVERRIDE;
35 private:
36 #if defined(OS_WIN)
37 base::win::ScopedCOMInitializer com_initializer_;
38 #endif
40 #if defined(USE_AURA)
41 scoped_ptr<aura::test::TestAuraInitializer> aura_initializer_;
42 #endif
44 DISALLOW_COPY_AND_ASSIGN(ContentTestSuite);
47 } // namespace content
49 #endif // CONTENT_TEST_CONTENT_TEST_SUITE_H_