Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(588)

Side by Side Diff: chrome/browser/ui/webui/options/options_browsertest.h

Issue 304793002: Support automatically resolving dependencies in javascript tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Various fixes. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_BROWSERTEST_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_BROWSERTEST_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_BROWSERTEST_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_BROWSERTEST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/test/base/web_ui_browsertest.h" 10 #include "chrome/test/base/web_ui_browser_test.h"
11 #include "content/public/browser/web_ui_message_handler.h" 11 #include "content/public/browser/web_ui_message_handler.h"
12 12
13 // This is a helper class used by options_browsertest.js to feed the navigation 13 // This is a helper class used by options_browsertest.js to feed the navigation
14 // history back to the test. 14 // history back to the test.
15 class OptionsBrowserTest : public WebUIBrowserTest, 15 class OptionsBrowserTest : public WebUIBrowserTest,
16 public content::WebUIMessageHandler { 16 public content::WebUIMessageHandler {
17 public: 17 public:
18 OptionsBrowserTest(); 18 OptionsBrowserTest();
19 virtual ~OptionsBrowserTest(); 19 virtual ~OptionsBrowserTest();
20 20
(...skipping 15 matching lines...) Expand all
36 36
37 // A callback for the 'optionsTestSetPref' message. The first argument should 37 // A callback for the 'optionsTestSetPref' message. The first argument should
38 // be a pref path (e.g., "profile.managed_users"); the second, the new value 38 // be a pref path (e.g., "profile.managed_users"); the second, the new value
39 // to set for that pref. 39 // to set for that pref.
40 void HandleSetPref(const base::ListValue* args); 40 void HandleSetPref(const base::ListValue* args);
41 41
42 DISALLOW_COPY_AND_ASSIGN(OptionsBrowserTest); 42 DISALLOW_COPY_AND_ASSIGN(OptionsBrowserTest);
43 }; 43 };
44 44
45 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_BROWSERTEST_H_ 45 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_BROWSERTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698