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

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

Issue 9193024: [Mac] Add a perf test that counts the number of Mach ports in the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 const content::NotificationSource& source, 82 const content::NotificationSource& source,
83 const content::NotificationDetails& details) OVERRIDE; 83 const content::NotificationDetails& details) OVERRIDE;
84 84
85 // IPC Message callbacks. 85 // IPC Message callbacks.
86 void CloseBrowser(int handle, IPC::Message* reply_message); 86 void CloseBrowser(int handle, IPC::Message* reply_message);
87 void CloseBrowserAsync(int browser_handle); 87 void CloseBrowserAsync(int browser_handle);
88 void ActivateTab(int handle, int at_index, int* status); 88 void ActivateTab(int handle, int at_index, int* status);
89 void AppendTab(int handle, const GURL& url, IPC::Message* reply_message); 89 void AppendTab(int handle, const GURL& url, IPC::Message* reply_message);
90 void AppendBackgroundTab(int handle, const GURL& url, 90 void AppendBackgroundTab(int handle, const GURL& url,
91 IPC::Message* reply_message); 91 IPC::Message* reply_message);
92 void GetMachPortCount(int* port_count);
92 void GetActiveTabIndex(int handle, int* active_tab_index); 93 void GetActiveTabIndex(int handle, int* active_tab_index);
93 void CloseTab(int tab_handle, bool wait_until_closed, 94 void CloseTab(int tab_handle, bool wait_until_closed,
94 IPC::Message* reply_message); 95 IPC::Message* reply_message);
95 void GetCookies(const GURL& url, int handle, int* value_size, 96 void GetCookies(const GURL& url, int handle, int* value_size,
96 std::string* value); 97 std::string* value);
97 void SetCookie(const GURL& url, 98 void SetCookie(const GURL& url,
98 const std::string& value, 99 const std::string& value,
99 int handle, 100 int handle,
100 int* response_value); 101 int* response_value);
101 void DeleteCookie(const GURL& url, const std::string& cookie_name, 102 void DeleteCookie(const GURL& url, const std::string& cookie_name,
(...skipping 1426 matching lines...) Expand 10 before | Expand all | Expand 10 after
1528 // Used to enumerate browser profiles. 1529 // Used to enumerate browser profiles.
1529 scoped_refptr<ImporterList> importer_list_; 1530 scoped_refptr<ImporterList> importer_list_;
1530 1531
1531 // The stored data for the ImportSettings operation. 1532 // The stored data for the ImportSettings operation.
1532 ImportSettingsData import_settings_data_; 1533 ImportSettingsData import_settings_data_;
1533 1534
1534 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1535 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1535 }; 1536 };
1536 1537
1537 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1538 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698