Update CrOS OOBE throbber to MD throbber; delete old asset
[chromium-blink-merge.git] / chrome / common / extensions / manifest_tests / chrome_manifest_test.h
blob5722876017f5097ce25aea21c9f8e87487900c60
1 // Copyright 2014 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_COMMON_EXTENSIONS_MANIFEST_TESTS_CHROME_MANIFEST_TEST_H_
6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_TESTS_CHROME_MANIFEST_TEST_H_
8 #include "base/macros.h"
9 #include "chrome/common/extensions/features/feature_channel.h"
10 #include "extensions/common/manifest_test.h"
12 // Base class for unit tests that load manifest data from Chrome TEST_DATA_DIR.
13 // TODO(jamescook): Move this class and all subclasses into the extensions
14 // namespace.
15 class ChromeManifestTest : public extensions::ManifestTest {
16 public:
17 ChromeManifestTest();
18 ~ChromeManifestTest() override;
20 // ManifestTest overrides:
21 base::FilePath GetTestDataDir() override;
23 private:
24 // Force the manifest tests to run as though they are on trunk, since several
25 // tests rely on manifest features being available that aren't on
26 // stable/beta.
28 // These objects nest, so if a test wants to explicitly test the behaviour
29 // on stable or beta, declare it inside that test.
30 extensions::ScopedCurrentChannel current_channel_;
32 DISALLOW_COPY_AND_ASSIGN(ChromeManifestTest);
35 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_TESTS_CHROME_MANIFEST_TEST_H_