| Index: chrome/test/pyautolib/pyautolib.h
|
| diff --git a/chrome/test/pyautolib/pyautolib.h b/chrome/test/pyautolib/pyautolib.h
|
| index 8e47776a19263a7b33faba67439168c4119c4307..5cf48af75125da9e07445f5fcc7ce1920ff0a62c 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"
|
|
|
| @@ -211,6 +212,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, int window_index = 0);
|
|
|
|
|