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

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

Issue 2923010: Adding a new PyAuto hook for importing settings. (Closed)
Patch Set: After merge Created 10 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/automation/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) 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
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
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_
OLDNEW
« 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