| Index: chrome/test/pyautolib/pyautolib.h
|
| diff --git a/chrome/test/pyautolib/pyautolib.h b/chrome/test/pyautolib/pyautolib.h
|
| index 42316b184595d6142b239cdebc1f6b4ebbbe0008..a6980bc6dff9e141511780cd6095b4fcddb22a3a 100644
|
| --- a/chrome/test/pyautolib/pyautolib.h
|
| +++ b/chrome/test/pyautolib/pyautolib.h
|
| @@ -12,6 +12,7 @@
|
| #include "base/compiler_specific.h"
|
| #include "base/message_loop.h"
|
| #include "base/test/test_timeouts.h"
|
| +#include "base/time.h"
|
| #include "chrome/test/ui/ui_test.h"
|
| #include "chrome/test/ui/ui_test_suite.h"
|
|
|
| @@ -207,6 +208,16 @@ class PyUITestBase : public UITestBase {
|
| virtual void SetLaunchSwitches() OVERRIDE;
|
|
|
| private:
|
| + // Create JSON error responses.
|
| + void ErrorResponse(const std::string& error_string,
|
| + const std::string& request,
|
| + std::string* response);
|
| + void RequestFailureResponse(
|
| + const std::string& request,
|
| + const base::TimeDelta& duration,
|
| + const base::TimeDelta& timeout,
|
| + std::string* response);
|
| +
|
| // Gets the current state of the bookmark bar. Returns false if it failed.
|
| bool GetBookmarkBarState(bool* visible, bool* detached);
|
|
|
|
|