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

Unified Diff: chrome/test/automation/tab_proxy.h

Issue 255057: Unit Test for Toggling of Encoding Auto-Detect (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/automation/tab_proxy.h
===================================================================
--- chrome/test/automation/tab_proxy.h (revision 31188)
+++ chrome/test/automation/tab_proxy.h (working copy)
@@ -303,9 +303,9 @@
// to be used with WaitForNavigation (see below).
bool GetLastNavigationTime(int64* last_navigation_time);
- // Waits for a new navigation if none as occurred since |last_navigation_time|
- // The purpose of this function is for operations that causes asynchronous
- // navigation to happen.
+ // Waits for a new navigation if none has occurred since
+ // |last_navigation_time|. The purpose of this function is for operations
+ // that causes asynchronous navigation to happen.
// It is supposed to be used as follow:
// int64 last_nav_time;
// tab_proxy->GetLastNavigationTime(&last_nav_time);
@@ -316,6 +316,9 @@
// Gets the current used encoding of the page in the tab.
bool GetPageCurrentEncoding(std::string* encoding);
+ // Toggles encoding auto-detect of the page in the tab
+ bool ToggleEncodingAutoDetect();
+
// Uses the specified encoding to override encoding of the page in the tab.
bool OverrideEncoding(const std::string& encoding);

Powered by Google App Engine
This is Rietveld 408576698