| Index: content/test/layout_browsertest.h
|
| diff --git a/content/test/layout_browsertest.h b/content/test/layout_browsertest.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bfff60bd16b8c18b9286a458859df997bbda60fa
|
| --- /dev/null
|
| +++ b/content/test/layout_browsertest.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright (c) 2012 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 "base/file_path.h"
|
| +#include "base/scoped_temp_dir.h"
|
| +#include "chrome/test/base/in_process_browser_test.h"
|
| +
|
| +class InProcessBrowserLayoutTest : public InProcessBrowserTest {
|
| + public:
|
| + explicit InProcessBrowserLayoutTest(const FilePath relative_layout_test_path);
|
| + virtual ~InProcessBrowserLayoutTest();
|
| +
|
| + virtual void SetUpInProcessBrowserTestFixture() OVERRIDE;
|
| + void RunLayoutTest(const std::string& test_case_file_name);
|
| + void AddResourceForLayoutTest(const FilePath& parent_dir,
|
| + const FilePath& resource_name);
|
| +
|
| + private:
|
| + void WriteModifiedFile(const std::string& test_case_file_name,
|
| + GURL* test_url);
|
| +
|
| + FilePath our_original_layout_test_dir_;
|
| + FilePath original_relative_path_;
|
| + FilePath our_layout_test_temp_dir_;
|
| + ScopedTempDir scoped_temp_dir_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(InProcessBrowserLayoutTest);
|
| +};
|
|
|