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

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

Issue 7548024: Refactor: Make PyAuto InstallExtension() take a string. Delete dead code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixup per kkania. Created 9 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
« 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) 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 // 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 243
244 // See browsing_data_remover.h for explanation of bitmap fields. 244 // See browsing_data_remover.h for explanation of bitmap fields.
245 void RemoveBrowsingData(int remove_mask); 245 void RemoveBrowsingData(int remove_mask);
246 246
247 // Notify the JavaScript engine in the render to change its parameters 247 // Notify the JavaScript engine in the render to change its parameters
248 // while performing stress testing. See 248 // while performing stress testing. See
249 // |ViewHostMsg_JavaScriptStressTestControl_Commands| in render_messages.h 249 // |ViewHostMsg_JavaScriptStressTestControl_Commands| in render_messages.h
250 // for information on the arguments. 250 // for information on the arguments.
251 void JavaScriptStressTestControl(int handle, int cmd, int param); 251 void JavaScriptStressTestControl(int handle, int cmd, int param);
252 252
253 void InstallExtension(const FilePath& crx_path,
254 IPC::Message* reply_message);
255
256 void WaitForExtensionTestResult(IPC::Message* reply_message); 253 void WaitForExtensionTestResult(IPC::Message* reply_message);
257 254
258 void InstallExtensionAndGetHandle(const FilePath& crx_path, 255 void InstallExtension(const FilePath& extension_path,
259 bool with_ui, 256 bool with_ui,
260 IPC::Message* reply_message); 257 IPC::Message* reply_message);
261 258
262 void UninstallExtension(int extension_handle, 259 void UninstallExtension(int extension_handle,
263 bool* success); 260 bool* success);
264 261
265 void ReloadExtension(int extension_handle, 262 void ReloadExtension(int extension_handle,
266 IPC::Message* reply_message); 263 IPC::Message* reply_message);
267 264
268 void EnableExtension(int extension_handle, 265 void EnableExtension(int extension_handle,
269 IPC::Message* reply_message); 266 IPC::Message* reply_message);
270 267
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 // True iff the Chrome OS network library finished initialization. 384 // True iff the Chrome OS network library finished initialization.
388 bool network_library_initialized_; 385 bool network_library_initialized_;
389 386
390 // ID of automation channel. 387 // ID of automation channel.
391 std::string channel_id_; 388 std::string channel_id_;
392 389
393 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); 390 DISALLOW_COPY_AND_ASSIGN(AutomationProvider);
394 }; 391 };
395 392
396 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ 393 #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