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

Unified Diff: chrome/browser/automation/automation_provider.h

Issue 10115018: Convert the infobars interactive_ui_test to a browser_test. Remove the ExtensionProxy class which… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/automation/automation_provider.h
===================================================================
--- chrome/browser/automation/automation_provider.h (revision 132618)
+++ chrome/browser/automation/automation_provider.h (working copy)
@@ -39,13 +39,10 @@
#endif // defined(OS_WIN) && !defined(USE_AURA)
class AutomationBrowserTracker;
-class AutomationExtensionTracker;
class AutomationResourceMessageFilter;
class AutomationTabTracker;
class AutomationWindowTracker;
class Browser;
-class Extension;
-class ExtensionTestResultNotificationObserver;
class ExternalTabContainer;
class FilePath;
class InitialLoadObserver;
@@ -146,11 +143,6 @@
return reply_message;
}
- // Adds the extension passed in to the extension tracker, and returns
- // the associated handle. If the tracker already contains the extension,
- // the handle is simply returned.
- int AddExtension(const Extension* extension);
-
#if defined(OS_WIN) && !defined(USE_AURA)
// Adds the external tab passed in to the tab tracker.
bool AddExternalTab(ExternalTabContainer* external_tab);
@@ -271,36 +263,6 @@
void EndTracing(IPC::Message* reply_message);
void GetTracingOutput(std::string* chunk, bool* success);
- void WaitForExtensionTestResult(IPC::Message* reply_message);
-
- void InstallExtension(const FilePath& extension_path,
- bool with_ui,
- IPC::Message* reply_message);
-
- void UninstallExtension(int extension_handle,
- bool* success);
-
- void ReloadExtension(int extension_handle,
- IPC::Message* reply_message);
-
- void EnableExtension(int extension_handle,
- IPC::Message* reply_message);
-
- void DisableExtension(int extension_handle,
- bool* success);
-
- void ExecuteExtensionActionInActiveTabAsync(int extension_handle,
- int browser_handle,
- IPC::Message* reply_message);
-
- void MoveExtensionBrowserAction(int extension_handle, int index,
- bool* success);
-
- void GetExtensionProperty(int extension_handle,
- AutomationMsg_ExtensionProperty type,
- bool* success,
- std::string* value);
-
// Asynchronous request for printing the current tab.
void PrintAsync(int tab_handle);
@@ -322,18 +284,6 @@
void StopAsync(int tab_handle);
void SaveAsAsync(int tab_handle);
- // Returns the extension for the given handle. Returns NULL if there is
- // no extension for the handle.
- const Extension* GetExtension(int extension_handle);
-
- // Returns the extension for the given handle, if the handle is valid and
- // the associated extension is enabled. Returns NULL otherwise.
- const Extension* GetEnabledExtension(int extension_handle);
-
- // Returns the extension for the given handle, if the handle is valid and
- // the associated extension is disabled. Returns NULL otherwise.
- const Extension* GetDisabledExtension(int extension_handle);
-
// Method called by the popup menu tracker when a popup menu is opened.
void NotifyPopupMenuOpened();
@@ -392,9 +342,6 @@
scoped_ptr<IPC::ChannelProxy> channel_;
scoped_ptr<content::NotificationObserver> new_tab_ui_load_observer_;
scoped_ptr<content::NotificationObserver> find_in_page_observer_;
- scoped_ptr<ExtensionTestResultNotificationObserver>
- extension_test_result_observer_;
- scoped_ptr<AutomationExtensionTracker> extension_tracker_;
// True iff we should enable observers that check for initial load conditions.
bool use_initial_load_observers_;
« no previous file with comments | « chrome/browser/automation/automation_extension_tracker.cc ('k') | chrome/browser/automation/automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698