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

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

Issue 10866013: Convert the browsing_data pyauto tests to chrome tests. Remove the ClearBrowsingData automation cod… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix hang on mac Created 8 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 void RemoveSavedPassword(Browser* browser, 515 void RemoveSavedPassword(Browser* browser,
516 base::DictionaryValue* args, 516 base::DictionaryValue* args,
517 IPC::Message* reply_message); 517 IPC::Message* reply_message);
518 518
519 // Return the saved username/password combinations. 519 // Return the saved username/password combinations.
520 // Uses the JSON interface for input/output. 520 // Uses the JSON interface for input/output.
521 void GetSavedPasswords(Browser* browser, 521 void GetSavedPasswords(Browser* browser,
522 base::DictionaryValue* args, 522 base::DictionaryValue* args,
523 IPC::Message* reply_message); 523 IPC::Message* reply_message);
524 524
525 // Clear the specified browsing data. This call provides similar
526 // functionality to RemoveBrowsingData but is synchronous.
527 // Uses the JSON interface for input/output.
528 void ClearBrowsingData(Browser* browser,
529 base::DictionaryValue* args,
530 IPC::Message* reply_message);
531
532 // Get info about blocked popups in a tab. 525 // Get info about blocked popups in a tab.
533 // Uses the JSON interface for input/output. 526 // Uses the JSON interface for input/output.
534 void GetBlockedPopupsInfo(Browser* browser, 527 void GetBlockedPopupsInfo(Browser* browser,
535 base::DictionaryValue* args, 528 base::DictionaryValue* args,
536 IPC::Message* reply_message); 529 IPC::Message* reply_message);
537 530
538 // Launch a blocked popup. 531 // Launch a blocked popup.
539 // Uses the JSON interface for input/output. 532 // Uses the JSON interface for input/output.
540 void UnblockAndLaunchBlockedPopup(Browser* browser, 533 void UnblockAndLaunchBlockedPopup(Browser* browser,
541 base::DictionaryValue* args, 534 base::DictionaryValue* args,
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1665 scoped_ptr<AutomationEventQueue> automation_event_queue_; 1658 scoped_ptr<AutomationEventQueue> automation_event_queue_;
1666 1659
1667 // List of commands which just finish synchronously and don't require 1660 // List of commands which just finish synchronously and don't require
1668 // setting up an observer. 1661 // setting up an observer.
1669 static const int kSynchronousCommands[]; 1662 static const int kSynchronousCommands[];
1670 1663
1671 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1664 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1672 }; 1665 };
1673 1666
1674 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1667 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider_observers.cc ('k') | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698