summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/manifest_tests/chrome_manifest_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/manifest_tests/chrome_manifest_test.cc')
-rw-r--r--chrome/common/extensions/manifest_tests/chrome_manifest_test.cc23
1 files changed, 23 insertions, 0 deletions
diff --git a/chrome/common/extensions/manifest_tests/chrome_manifest_test.cc b/chrome/common/extensions/manifest_tests/chrome_manifest_test.cc
new file mode 100644
index 0000000..ce37a31
--- /dev/null
+++ b/chrome/common/extensions/manifest_tests/chrome_manifest_test.cc
@@ -0,0 +1,23 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/common/extensions/manifest_tests/chrome_manifest_test.h"
+
+#include "base/files/file_path.h"
+#include "base/path_service.h"
+#include "chrome/common/chrome_paths.h"
+#include "chrome/common/chrome_version_info.h"
+
+ChromeManifestTest::ChromeManifestTest()
+ // CHANNEL_UNKNOWN == trunk.
+ : current_channel_(chrome::VersionInfo::CHANNEL_UNKNOWN) {}
+
+ChromeManifestTest::~ChromeManifestTest() {
+}
+
+base::FilePath ChromeManifestTest::GetTestDataDir() {
+ base::FilePath path;
+ PathService::Get(chrome::DIR_TEST_DATA, &path);
+ return path.AppendASCII("extensions").AppendASCII("manifest_tests");
+}