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

Side by Side Diff: chrome/test/automation/tab_proxy.h

Issue 7969023: For the SSL cert status, convert anonymous enum that gives bit values into a typedefed uint32. Th... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/automation_messages_internal.h ('k') | chrome/test/automation/tab_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TEST_AUTOMATION_TAB_PROXY_H_ 5 #ifndef CHROME_TEST_AUTOMATION_TAB_PROXY_H_
6 #define CHROME_TEST_AUTOMATION_TAB_PROXY_H_ 6 #define CHROME_TEST_AUTOMATION_TAB_PROXY_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" // NOLINT 9 #include "build/build_config.h" // NOLINT
10 10
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 const std::string& origin, 275 const std::string& origin,
276 const std::string& target); 276 const std::string& target);
277 #endif // defined(OS_WIN) 277 #endif // defined(OS_WIN)
278 278
279 // Waits for the tab to finish being restored. Returns true on success. 279 // Waits for the tab to finish being restored. Returns true on success.
280 // timeout_ms gives the max amount of time to wait for restore to complete. 280 // timeout_ms gives the max amount of time to wait for restore to complete.
281 bool WaitForTabToBeRestored(uint32 timeout_ms) WARN_UNUSED_RESULT; 281 bool WaitForTabToBeRestored(uint32 timeout_ms) WARN_UNUSED_RESULT;
282 282
283 // Retrieves the different security states for the current tab. 283 // Retrieves the different security states for the current tab.
284 bool GetSecurityState(SecurityStyle* security_style, 284 bool GetSecurityState(SecurityStyle* security_style,
285 int* ssl_cert_status, 285 net::CertStatus* ssl_cert_status,
286 int* insecure_content_status) WARN_UNUSED_RESULT; 286 int* insecure_content_status) WARN_UNUSED_RESULT;
287 287
288 // Returns the type of the page currently showing (normal, interstitial, 288 // Returns the type of the page currently showing (normal, interstitial,
289 // error). 289 // error).
290 bool GetPageType(PageType* page_type) WARN_UNUSED_RESULT; 290 bool GetPageType(PageType* page_type) WARN_UNUSED_RESULT;
291 291
292 // Simulates the user action on the SSL blocking page. if |proceed| is true, 292 // Simulates the user action on the SSL blocking page. if |proceed| is true,
293 // this is equivalent to clicking the 'Proceed' button, if false to 'Take me 293 // this is equivalent to clicking the 'Proceed' button, if false to 'Take me
294 // out of there' button. 294 // out of there' button.
295 bool TakeActionOnSSLBlockingPage(bool proceed) WARN_UNUSED_RESULT; 295 bool TakeActionOnSSLBlockingPage(bool proceed) WARN_UNUSED_RESULT;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 const std::wstring& frame_xpath, 406 const std::wstring& frame_xpath,
407 const std::wstring& jscript) WARN_UNUSED_RESULT; 407 const std::wstring& jscript) WARN_UNUSED_RESULT;
408 408
409 private: 409 private:
410 base::Lock list_lock_; // Protects the observers_list_. 410 base::Lock list_lock_; // Protects the observers_list_.
411 ObserverList<TabProxyDelegate> observers_list_; 411 ObserverList<TabProxyDelegate> observers_list_;
412 DISALLOW_COPY_AND_ASSIGN(TabProxy); 412 DISALLOW_COPY_AND_ASSIGN(TabProxy);
413 }; 413 };
414 414
415 #endif // CHROME_TEST_AUTOMATION_TAB_PROXY_H_ 415 #endif // CHROME_TEST_AUTOMATION_TAB_PROXY_H_
OLDNEW
« no previous file with comments | « chrome/common/automation_messages_internal.h ('k') | chrome/test/automation/tab_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698