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

Unified Diff: chrome/test/chromedriver/chrome/web_view_impl.h

Issue 275193003: [ChromeDriver] Expose CPU Profiling DevTools API into chromeWebDriver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing web_view_stub method signatuer Created 6 years, 7 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
« no previous file with comments | « chrome/test/chromedriver/chrome/web_view.h ('k') | chrome/test/chromedriver/chrome/web_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/chrome/web_view_impl.h
diff --git a/chrome/test/chromedriver/chrome/web_view_impl.h b/chrome/test/chromedriver/chrome/web_view_impl.h
index df33053c03fa1e504c12a657fddf60bfb7f04424..c1424c8dfe5e4f808ef6f687d593c6f9b644f7bb 100644
--- a/chrome/test/chromedriver/chrome/web_view_impl.h
+++ b/chrome/test/chromedriver/chrome/web_view_impl.h
@@ -89,6 +89,8 @@ class WebViewImpl : public WebView {
const base::DictionaryValue& element,
const std::vector<base::FilePath>& files) OVERRIDE;
virtual Status TakeHeapSnapshot(scoped_ptr<base::Value>* snapshot) OVERRIDE;
+ virtual Status StartProfile() OVERRIDE;
+ virtual Status EndProfile(scoped_ptr<base::Value>* profile_data) OVERRIDE;
private:
Status CallAsyncFunctionInternal(const std::string& frame,
@@ -99,6 +101,10 @@ class WebViewImpl : public WebView {
scoped_ptr<base::Value>* result);
Status IsNotPendingNavigation(const std::string& frame_id,
bool* is_not_pending);
+
+ Status InitProfileInternal();
+ Status StopProfileInternal();
+
std::string id_;
const BrowserInfo* browser_info_;
scoped_ptr<DomTracker> dom_tracker_;
« no previous file with comments | « chrome/test/chromedriver/chrome/web_view.h ('k') | chrome/test/chromedriver/chrome/web_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698