| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // This implements a browser-side endpoint for UI automation activity. | 5 // This implements a browser-side endpoint for UI automation activity. |
| 6 // The client-side endpoint is implemented by AutomationProxy. | 6 // The client-side endpoint is implemented by AutomationProxy. |
| 7 // The entire lifetime of this object should be contained within that of | 7 // The entire lifetime of this object should be contained within that of |
| 8 // the BrowserProcess, and in particular the NotificationService that's | 8 // the BrowserProcess, and in particular the NotificationService that's |
| 9 // hung off of it. | 9 // hung off of it. |
| 10 | 10 |
| (...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 void GetThemeInfo(Browser* browser, | 454 void GetThemeInfo(Browser* browser, |
| 455 DictionaryValue* args, | 455 DictionaryValue* args, |
| 456 IPC::Message* reply_message); | 456 IPC::Message* reply_message); |
| 457 | 457 |
| 458 // Get the profiles that are currently saved to the DB. | 458 // Get the profiles that are currently saved to the DB. |
| 459 // Uses the JSON interface for input/output. | 459 // Uses the JSON interface for input/output. |
| 460 void GetAutoFillProfile(Browser* browser, | 460 void GetAutoFillProfile(Browser* browser, |
| 461 DictionaryValue* args, | 461 DictionaryValue* args, |
| 462 IPC::Message* reply_message); | 462 IPC::Message* reply_message); |
| 463 | 463 |
| 464 // Import the given settings from the given browser. |
| 465 // Uses the JSON interface for input/output. |
| 466 void ImportSettings(Browser* browser, |
| 467 DictionaryValue* args, |
| 468 IPC::Message* reply_message); |
| 469 |
| 464 // Fill in an AutoFillProfile with the given profile information. | 470 // Fill in an AutoFillProfile with the given profile information. |
| 465 // Uses the JSON interface for input/output. | 471 // Uses the JSON interface for input/output. |
| 466 void FillAutoFillProfile(Browser* browser, | 472 void FillAutoFillProfile(Browser* browser, |
| 467 DictionaryValue* args, | 473 DictionaryValue* args, |
| 468 IPC::Message* reply_message); | 474 IPC::Message* reply_message); |
| 469 | 475 |
| 470 // Translate DictionaryValues of autofill profiles and credit cards to the | 476 // Translate DictionaryValues of autofill profiles and credit cards to the |
| 471 // data structure used in the browser. | 477 // data structure used in the browser. |
| 472 // Args: | 478 // Args: |
| 473 // profiles/cards: the ListValue of profiles/credit cards to translate. | 479 // profiles/cards: the ListValue of profiles/credit cards to translate. |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 virtual void Observe(NotificationType type, | 921 virtual void Observe(NotificationType type, |
| 916 const NotificationSource& source, | 922 const NotificationSource& source, |
| 917 const NotificationDetails& details); | 923 const NotificationDetails& details); |
| 918 | 924 |
| 919 void OnRemoveProvider(); // Called via PostTask | 925 void OnRemoveProvider(); // Called via PostTask |
| 920 | 926 |
| 921 NotificationRegistrar registrar_; | 927 NotificationRegistrar registrar_; |
| 922 }; | 928 }; |
| 923 | 929 |
| 924 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 930 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |