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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h

Issue 2185233002: [DevTools] Added Runtime.awaitPromise protocol method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: alligned output Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 const Maybe<String16>& objectGroup, 67 const Maybe<String16>& objectGroup,
68 const Maybe<bool>& includeCommandLineAPI, 68 const Maybe<bool>& includeCommandLineAPI,
69 const Maybe<bool>& doNotPauseOnExceptionsAndMuteConsole, 69 const Maybe<bool>& doNotPauseOnExceptionsAndMuteConsole,
70 const Maybe<int>& executionContextId, 70 const Maybe<int>& executionContextId,
71 const Maybe<bool>& returnByValue, 71 const Maybe<bool>& returnByValue,
72 const Maybe<bool>& generatePreview, 72 const Maybe<bool>& generatePreview,
73 const Maybe<bool>& userGesture, 73 const Maybe<bool>& userGesture,
74 std::unique_ptr<protocol::Runtime::RemoteObject>* result, 74 std::unique_ptr<protocol::Runtime::RemoteObject>* result,
75 Maybe<bool>* wasThrown, 75 Maybe<bool>* wasThrown,
76 Maybe<protocol::Runtime::ExceptionDetails>*) override; 76 Maybe<protocol::Runtime::ExceptionDetails>*) override;
77 void awaitPromise(ErrorString*,
78 const String16& promiseObjectId,
79 const Maybe<bool>& returnByValue,
80 const Maybe<bool>& generatePreview,
81 std::unique_ptr<AwaitPromiseCallback>) override;
77 void callFunctionOn(ErrorString*, 82 void callFunctionOn(ErrorString*,
78 const String16& objectId, 83 const String16& objectId,
79 const String16& expression, 84 const String16& expression,
80 const Maybe<protocol::Array<protocol::Runtime::CallArgument>>& optionalA rguments, 85 const Maybe<protocol::Array<protocol::Runtime::CallArgument>>& optionalA rguments,
81 const Maybe<bool>& doNotPauseOnExceptionsAndMuteConsole, 86 const Maybe<bool>& doNotPauseOnExceptionsAndMuteConsole,
82 const Maybe<bool>& returnByValue, 87 const Maybe<bool>& returnByValue,
83 const Maybe<bool>& generatePreview, 88 const Maybe<bool>& generatePreview,
84 const Maybe<bool>& userGesture, 89 const Maybe<bool>& userGesture,
85 std::unique_ptr<protocol::Runtime::RemoteObject>* result, 90 std::unique_ptr<protocol::Runtime::RemoteObject>* result,
86 Maybe<bool>* wasThrown) override; 91 Maybe<bool>* wasThrown) override;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 protocol::DictionaryValue* m_state; 132 protocol::DictionaryValue* m_state;
128 protocol::Runtime::Frontend m_frontend; 133 protocol::Runtime::Frontend m_frontend;
129 V8DebuggerImpl* m_debugger; 134 V8DebuggerImpl* m_debugger;
130 bool m_enabled; 135 bool m_enabled;
131 protocol::HashMap<String16, std::unique_ptr<v8::Global<v8::Script>>> m_compi ledScripts; 136 protocol::HashMap<String16, std::unique_ptr<v8::Global<v8::Script>>> m_compi ledScripts;
132 }; 137 };
133 138
134 } // namespace blink 139 } // namespace blink
135 140
136 #endif // V8RuntimeAgentImpl_h 141 #endif // V8RuntimeAgentImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698