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

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

Issue 8649004: Allow chromedriver to install an extension and get all installed extension IDs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 1 month 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) 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 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 void UnblockAndLaunchBlockedPopup(Browser* browser, 625 void UnblockAndLaunchBlockedPopup(Browser* browser,
626 base::DictionaryValue* args, 626 base::DictionaryValue* args,
627 IPC::Message* reply_message); 627 IPC::Message* reply_message);
628 628
629 // Get info about theme. 629 // Get info about theme.
630 // Uses the JSON interface for input/output. 630 // Uses the JSON interface for input/output.
631 void GetThemeInfo(Browser* browser, 631 void GetThemeInfo(Browser* browser,
632 base::DictionaryValue* args, 632 base::DictionaryValue* args,
633 IPC::Message* reply_message); 633 IPC::Message* reply_message);
634 634
635 // Install the given unpacked/packed extension.
636 // Uses the JSON interface for input/output.
637 void InstallExtension(base::DictionaryValue* args,
638 IPC::Message* reply_message);
639
635 // Get info about all intalled extensions. 640 // Get info about all intalled extensions.
636 // Uses the JSON interface for input/output. 641 // Uses the JSON interface for input/output.
637 void GetExtensionsInfo(Browser* browser, 642 void GetExtensionsInfo(base::DictionaryValue* args,
638 base::DictionaryValue* args,
639 IPC::Message* reply_message); 643 IPC::Message* reply_message);
640 644
641 // Uninstalls the extension with the given id. 645 // Uninstalls the extension with the given id.
642 // Uses the JSON interface for input/output. 646 // Uses the JSON interface for input/output.
643 void UninstallExtensionById(Browser* browser, 647 void UninstallExtensionById(Browser* browser,
644 base::DictionaryValue* args, 648 base::DictionaryValue* args,
645 IPC::Message* reply_message); 649 IPC::Message* reply_message);
646 650
647 // Set extension states: 651 // Set extension states:
648 // Enable/disable extension. 652 // Enable/disable extension.
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
1398 // Used to enumerate browser profiles. 1402 // Used to enumerate browser profiles.
1399 scoped_refptr<ImporterList> importer_list_; 1403 scoped_refptr<ImporterList> importer_list_;
1400 1404
1401 // The stored data for the ImportSettings operation. 1405 // The stored data for the ImportSettings operation.
1402 ImportSettingsData import_settings_data_; 1406 ImportSettingsData import_settings_data_;
1403 1407
1404 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1408 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1405 }; 1409 };
1406 1410
1407 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1411 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698