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

Unified Diff: chrome/browser/automation/automation_provider.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/browser/automation/automation_provider.h
===================================================================
--- chrome/browser/automation/automation_provider.h (revision 31188)
+++ chrome/browser/automation/automation_provider.h (working copy)
@@ -445,8 +445,8 @@
// Gets the bool value for preference with name |name|.
void GetBooleanPreference(int handle,
const std::wstring& name,
- bool* success,
- bool* value);
+ bool* value,
+ bool* success);
// Sets the bool value for preference with name |name|.
void SetBooleanPreference(int handle,
@@ -457,6 +457,10 @@
// Gets the current used encoding name of the page in the specified tab.
void GetPageCurrentEncoding(int tab_handle, std::string* current_encoding);
+ // Toggles the encoding auto-detect setting on the given tab
+ void ToggleEncodingAutoDetect(int tab_handle,
+ bool* success);
+
// Uses the specified encoding to override the encoding of the page in the
// specified tab.
void OverrideEncoding(int tab_handle,
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider.cc » ('j') | chrome/browser/browser_encoding_uitest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698