OLD | NEW |
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 <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 void GetLocalStatePrefsInfo(base::DictionaryValue* args, | 494 void GetLocalStatePrefsInfo(base::DictionaryValue* args, |
495 IPC::Message* reply_message); | 495 IPC::Message* reply_message); |
496 | 496 |
497 // Set local state prefs. | 497 // Set local state prefs. |
498 // Uses the JSON interface for input/output. | 498 // Uses the JSON interface for input/output. |
499 void SetLocalStatePrefs(base::DictionaryValue* args, | 499 void SetLocalStatePrefs(base::DictionaryValue* args, |
500 IPC::Message* reply_message); | 500 IPC::Message* reply_message); |
501 | 501 |
502 // Get info about preferences. | 502 // Get info about preferences. |
503 // Uses the JSON interface for input/output. | 503 // Uses the JSON interface for input/output. |
504 void GetPrefsInfo(Browser* browser, | 504 void GetPrefsInfo(base::DictionaryValue* args, |
505 base::DictionaryValue* args, | |
506 IPC::Message* reply_message); | 505 IPC::Message* reply_message); |
507 | 506 |
508 // Set prefs. | 507 // Set prefs. |
509 // Uses the JSON interface for input/output. | 508 // Uses the JSON interface for input/output. |
510 void SetPrefs(Browser* browser, | 509 void SetPrefs(base::DictionaryValue* args, |
511 base::DictionaryValue* args, | |
512 IPC::Message* reply_message); | 510 IPC::Message* reply_message); |
513 | 511 |
514 // Return load times of initial tabs. | 512 // Return load times of initial tabs. |
515 // Uses the JSON interface for input/output. | 513 // Uses the JSON interface for input/output. |
516 // Only includes tabs from command line arguments or session restore. | 514 // Only includes tabs from command line arguments or session restore. |
517 // See declaration of InitialLoadObserver in automation_provider_observers.h | 515 // See declaration of InitialLoadObserver in automation_provider_observers.h |
518 // for example response. | 516 // for example response. |
519 void GetInitialLoadTimes(Browser* browser, | 517 void GetInitialLoadTimes(Browser* browser, |
520 base::DictionaryValue* args, | 518 base::DictionaryValue* args, |
521 IPC::Message* reply_message); | 519 IPC::Message* reply_message); |
(...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1495 // Used to enumerate browser profiles. | 1493 // Used to enumerate browser profiles. |
1496 scoped_refptr<ImporterList> importer_list_; | 1494 scoped_refptr<ImporterList> importer_list_; |
1497 | 1495 |
1498 // The stored data for the ImportSettings operation. | 1496 // The stored data for the ImportSettings operation. |
1499 ImportSettingsData import_settings_data_; | 1497 ImportSettingsData import_settings_data_; |
1500 | 1498 |
1501 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1499 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
1502 }; | 1500 }; |
1503 | 1501 |
1504 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1502 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
OLD | NEW |