Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / chrome / test / base / chrome_unit_test_suite.h
blob0ac9eb4671ec2592f59c67bb5b50025bd4add8a3
1 // Copyright 2013 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 CHROME_TEST_BASE_CHROME_UNIT_TEST_SUITE_H_
6 #define CHROME_TEST_BASE_CHROME_UNIT_TEST_SUITE_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "base/files/file_path.h"
11 #include "chrome/test/base/chrome_test_suite.h"
13 namespace base {
14 class StatsTable;
17 // Test suite for unit tests. Creates additional stub services that are not
18 // needed for browser tests (e.g. a TestingBrowserProcess).
19 class ChromeUnitTestSuite : public ChromeTestSuite {
20 public:
21 ChromeUnitTestSuite(int argc, char** argv);
22 virtual ~ChromeUnitTestSuite();
24 // base::TestSuite overrides:
25 virtual void Initialize() OVERRIDE;
26 virtual void Shutdown() OVERRIDE;
28 // These methods allow unit tests which run in the browser_test binary, and so
29 // which don't exercise the initialization in this test suite, to do basic
30 // setup which this class does.
31 static void InitializeProviders();
32 static void InitializeResourceBundle();
34 private:
35 scoped_ptr<base::StatsTable> stats_table_;
37 DISALLOW_COPY_AND_ASSIGN(ChromeUnitTestSuite);
40 #endif // CHROME_TEST_BASE_CHROME_UNIT_TEST_SUITE_H_