OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 void CloseTab(int tab_handle, bool wait_until_closed, | 100 void CloseTab(int tab_handle, bool wait_until_closed, |
101 IPC::Message* reply_message); | 101 IPC::Message* reply_message); |
102 void GetCookies(const GURL& url, int handle, int* value_size, | 102 void GetCookies(const GURL& url, int handle, int* value_size, |
103 std::string* value); | 103 std::string* value); |
104 void SetCookie(const GURL& url, | 104 void SetCookie(const GURL& url, |
105 const std::string& value, | 105 const std::string& value, |
106 int handle, | 106 int handle, |
107 int* response_value); | 107 int* response_value); |
108 void DeleteCookie(const GURL& url, const std::string& cookie_name, | 108 void DeleteCookie(const GURL& url, const std::string& cookie_name, |
109 int handle, bool* success); | 109 int handle, bool* success); |
110 void ShowCollectedCookiesDialog(int handle, bool* success); | |
111 void NavigateToURLBlockUntilNavigationsComplete(int handle, const GURL& url, | 110 void NavigateToURLBlockUntilNavigationsComplete(int handle, const GURL& url, |
112 int number_of_navigations, | 111 int number_of_navigations, |
113 IPC::Message* reply_message); | 112 IPC::Message* reply_message); |
114 void NavigationAsync(int handle, const GURL& url, bool* status); | 113 void NavigationAsync(int handle, const GURL& url, bool* status); |
115 void NavigationAsyncWithDisposition(int handle, | 114 void NavigationAsyncWithDisposition(int handle, |
116 const GURL& url, | 115 const GURL& url, |
117 WindowOpenDisposition disposition, | 116 WindowOpenDisposition disposition, |
118 bool* status); | 117 bool* status); |
119 void Reload(int handle, IPC::Message* reply_message); | 118 void Reload(int handle, IPC::Message* reply_message); |
120 void GetRedirectsFrom(int tab_handle, | 119 void GetRedirectsFrom(int tab_handle, |
(...skipping 1506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1627 ImportSettingsData import_settings_data_; | 1626 ImportSettingsData import_settings_data_; |
1628 | 1627 |
1629 // The automation event observer queue. It is lazily created when an observer | 1628 // The automation event observer queue. It is lazily created when an observer |
1630 // is added to avoid overhead when not needed. | 1629 // is added to avoid overhead when not needed. |
1631 scoped_ptr<AutomationEventQueue> automation_event_queue_; | 1630 scoped_ptr<AutomationEventQueue> automation_event_queue_; |
1632 | 1631 |
1633 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1632 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
1634 }; | 1633 }; |
1635 | 1634 |
1636 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1635 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
OLD | NEW |