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

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

Issue 7544026: Fix for flakiness in pyauto automation hook WaitForDownloadsToComplete. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with trunk; awaiting green trybots. 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
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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 399
400 // Get info about downloads. This includes only ones that have been 400 // Get info about downloads. This includes only ones that have been
401 // registered by the history system. 401 // registered by the history system.
402 // Uses the JSON interface for input/output. 402 // Uses the JSON interface for input/output.
403 void GetDownloadsInfo(Browser* browser, 403 void GetDownloadsInfo(Browser* browser,
404 base::DictionaryValue* args, 404 base::DictionaryValue* args,
405 IPC::Message* reply_message); 405 IPC::Message* reply_message);
406 406
407 // Wait for all downloads to complete. 407 // Wait for all downloads to complete.
408 // Uses the JSON interface for input/output. 408 // Uses the JSON interface for input/output.
409 void WaitForDownloadsToComplete(Browser* browser, 409 void WaitForAllDownloadsToComplete(Browser* browser,
410 base::DictionaryValue* args, 410 base::DictionaryValue* args,
411 IPC::Message* reply_message); 411 IPC::Message* reply_message);
412 412
413 // Performs the given action on the specified download. 413 // Performs the given action on the specified download.
414 // Uses the JSON interface for input/output. 414 // Uses the JSON interface for input/output.
415 void PerformActionOnDownload(Browser* browser, 415 void PerformActionOnDownload(Browser* browser,
416 base::DictionaryValue* args, 416 base::DictionaryValue* args,
417 IPC::Message* reply_message); 417 IPC::Message* reply_message);
418 418
419 // Get info about history. 419 // Get info about history.
420 // Uses the JSON interface for input/output. 420 // Uses the JSON interface for input/output.
421 void GetHistoryInfo(Browser* browser, 421 void GetHistoryInfo(Browser* browser,
(...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after
1312 // Used to enumerate browser profiles. 1312 // Used to enumerate browser profiles.
1313 scoped_refptr<ImporterList> importer_list_; 1313 scoped_refptr<ImporterList> importer_list_;
1314 1314
1315 // The stored data for the ImportSettings operation. 1315 // The stored data for the ImportSettings operation.
1316 ImportSettingsData import_settings_data_; 1316 ImportSettingsData import_settings_data_;
1317 1317
1318 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1318 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1319 }; 1319 };
1320 1320
1321 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1321 #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