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

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

Issue 5755003: Fix pyauto flakiness by waiting for notification that the renderer process' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 DictionaryValue* args, 737 DictionaryValue* args,
738 IPC::Message* reply_message); 738 IPC::Message* reply_message);
739 739
740 // Restores all thumbnails that have been removed (i.e., blacklisted) from the 740 // Restores all thumbnails that have been removed (i.e., blacklisted) from the
741 // NTP's Most Visited sites section. 741 // NTP's Most Visited sites section.
742 // Uses the JSON interface for input/output. 742 // Uses the JSON interface for input/output.
743 void RestoreAllNTPMostVisitedThumbnails(Browser* browser, 743 void RestoreAllNTPMostVisitedThumbnails(Browser* browser,
744 DictionaryValue* args, 744 DictionaryValue* args,
745 IPC::Message* reply_message); 745 IPC::Message* reply_message);
746 746
747 // Kills the given renderer process and returns after the associated
748 // RenderProcessHost receives notification of its closing.
749 void KillRendererProcess(Browser* browser,
750 DictionaryValue* args,
751 IPC::Message* reply_message);
752
747 void WaitForTabCountToBecome(int browser_handle, 753 void WaitForTabCountToBecome(int browser_handle,
748 int target_tab_count, 754 int target_tab_count,
749 IPC::Message* reply_message); 755 IPC::Message* reply_message);
750 756
751 void WaitForInfoBarCount(int tab_handle, 757 void WaitForInfoBarCount(int tab_handle,
752 int target_count, 758 int target_count,
753 IPC::Message* reply_message); 759 IPC::Message* reply_message);
754 760
755 // Gets the current used encoding name of the page in the specified tab. 761 // Gets the current used encoding name of the page in the specified tab.
756 void GetPageCurrentEncoding(int tab_handle, std::string* current_encoding); 762 void GetPageCurrentEncoding(int tab_handle, std::string* current_encoding);
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 // Used to import settings from browser profiles. 807 // Used to import settings from browser profiles.
802 scoped_refptr<ImporterHost> importer_host_; 808 scoped_refptr<ImporterHost> importer_host_;
803 809
804 // The stored data for the ImportSettings operation. 810 // The stored data for the ImportSettings operation.
805 ImportSettingsData import_settings_data_; 811 ImportSettingsData import_settings_data_;
806 812
807 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 813 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
808 }; 814 };
809 815
810 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 816 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698