| Index: chrome/test/chromedriver/chrome/web_view.h
|
| diff --git a/chrome/test/chromedriver/chrome/web_view.h b/chrome/test/chromedriver/chrome/web_view.h
|
| index e30ec9518150e844f313209ca350a03f29658760..5477d8086396af98be3e23eff6ea3eee6f6e8f90 100644
|
| --- a/chrome/test/chromedriver/chrome/web_view.h
|
| +++ b/chrome/test/chromedriver/chrome/web_view.h
|
| @@ -154,6 +154,14 @@ class WebView {
|
| // 1. A meta data element "snapshot" about how to parse data elements.
|
| // 2. Data elements: "nodes", "edges", "strings".
|
| virtual Status TakeHeapSnapshot(scoped_ptr<base::Value>* snapshot) = 0;
|
| +
|
| + // Start recording Javascript CPU Profile.
|
| + virtual Status StartProfile() = 0;
|
| +
|
| + // Stop recording Javascript CPU Profile and returns a graph of
|
| + // CPUProfile objects. The format for the captured profile is defined
|
| + // (by DevTools) in protocol.json.
|
| + virtual Status EndProfile(scoped_ptr<base::Value>* profile_data) = 0;
|
| };
|
|
|
| #endif // CHROME_TEST_CHROMEDRIVER_CHROME_WEB_VIEW_H_
|
|
|