summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_provider.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-09 20:14:36 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-09 20:14:36 +0000
commitb8f48d184700b3bcbb6f0b4d90fe3354d5e6dd96 (patch)
treed83e1ea7006f2462dfcfec8c65f9de045629eb52 /chrome/browser/automation/automation_provider.h
parent0e7a02bf814bf5a548e1d846f58fc614c449e31a (diff)
downloadchromium_src-b8f48d184700b3bcbb6f0b4d90fe3354d5e6dd96.zip
chromium_src-b8f48d184700b3bcbb6f0b4d90fe3354d5e6dd96.tar.gz
chromium_src-b8f48d184700b3bcbb6f0b4d90fe3354d5e6dd96.tar.bz2
Revert 31419 - Commit Issue 255057: Unit Test for Toggling of Encoding AutoDetect
BUG=23617 TEST=BrowserEncodingTest.TestToggleAutoDetect TBR=rolandsteiner@chromium.org Review URL: http://codereview.chromium.org/378031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31465 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.h')
-rw-r--r--chrome/browser/automation/automation_provider.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h
index 6a66bd7..66e7de8 100644
--- a/chrome/browser/automation/automation_provider.h
+++ b/chrome/browser/automation/automation_provider.h
@@ -447,8 +447,8 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>,
// Gets the bool value for preference with name |name|.
void GetBooleanPreference(int handle,
const std::wstring& name,
- bool* value,
- bool* success);
+ bool* success,
+ bool* value);
// Sets the bool value for preference with name |name|.
void SetBooleanPreference(int handle,
@@ -459,10 +459,6 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>,
// 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,