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

Unified Diff: chrome/browser/automation/automation_provider.h

Issue 378031: Revert 31419 - Commit Issue 255057: Unit Test for Toggling of Encoding AutoDe... (Closed) Base URL: svn://svn.chromium.org/chrome/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
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/automation_provider.h
===================================================================
--- chrome/browser/automation/automation_provider.h (revision 31464)
+++ chrome/browser/automation/automation_provider.h (working copy)
@@ -447,8 +447,8 @@
// 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 @@
// 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698