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

Side by Side Diff: chrome/browser/automation/testing_automation_provider.h

Issue 7067033: Add pyauto commands to access local state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 | « no previous file | chrome/browser/automation/testing_automation_provider.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_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 DictionaryValue* args, 469 DictionaryValue* args,
470 IPC::Message* reply_message); 470 IPC::Message* reply_message);
471 471
472 // Perform a given action on an existing search engine. 472 // Perform a given action on an existing search engine.
473 // Assumes that the profile's template url model is loaded. 473 // Assumes that the profile's template url model is loaded.
474 // Uses the JSON interface for input/output. 474 // Uses the JSON interface for input/output.
475 void PerformActionOnSearchEngine(Browser* browser, 475 void PerformActionOnSearchEngine(Browser* browser,
476 DictionaryValue* args, 476 DictionaryValue* args,
477 IPC::Message* reply_message); 477 IPC::Message* reply_message);
478 478
479 // Get info about preferences stored in Local State.
480 // Uses the JSON interface for input/output.
481 void GetLocalStatePrefsInfo(Browser* browser,
482 DictionaryValue* args,
483 IPC::Message* reply_message);
484
485 // Set local state prefs.
486 // Uses the JSON interface for input/output.
487 void SetLocalStatePrefs(Browser* browser,
488 DictionaryValue* args,
489 IPC::Message* reply_message);
490
479 // Get info about preferences. 491 // Get info about preferences.
480 // Uses the JSON interface for input/output. 492 // Uses the JSON interface for input/output.
481 void GetPrefsInfo(Browser* browser, 493 void GetPrefsInfo(Browser* browser,
482 DictionaryValue* args, 494 DictionaryValue* args,
483 IPC::Message* reply_message); 495 IPC::Message* reply_message);
484 496
485 // Set prefs. 497 // Set prefs.
486 // Uses the JSON interface for input/output. 498 // Uses the JSON interface for input/output.
487 void SetPrefs(Browser* browser, 499 void SetPrefs(Browser* browser,
488 DictionaryValue* args, 500 DictionaryValue* args,
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
1243 // Used to enumerate browser profiles. 1255 // Used to enumerate browser profiles.
1244 scoped_refptr<ImporterList> importer_list_; 1256 scoped_refptr<ImporterList> importer_list_;
1245 1257
1246 // The stored data for the ImportSettings operation. 1258 // The stored data for the ImportSettings operation.
1247 ImportSettingsData import_settings_data_; 1259 ImportSettingsData import_settings_data_;
1248 1260
1249 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1261 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1250 }; 1262 };
1251 1263
1252 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1264 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698