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

Side by Side Diff: chrome/browser/extensions/api/developer_private/developer_private_api.h

Issue 1018493002: [Extensions] Combine developerPrivate.inspect and developerPrivate.openDevTools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/developer_private/developer_private_api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/files/file.h" 10 #include "base/files/file.h"
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 : public DeveloperPrivateAPIFunction { 219 : public DeveloperPrivateAPIFunction {
220 public: 220 public:
221 DECLARE_EXTENSION_FUNCTION("developerPrivate.getExtensionInfo", 221 DECLARE_EXTENSION_FUNCTION("developerPrivate.getExtensionInfo",
222 DEVELOPERPRIVATE_GETEXTENSIONINFO); 222 DEVELOPERPRIVATE_GETEXTENSIONINFO);
223 223
224 private: 224 private:
225 ~DeveloperPrivateGetExtensionInfoFunction() override; 225 ~DeveloperPrivateGetExtensionInfoFunction() override;
226 ResponseAction Run() override; 226 ResponseAction Run() override;
227 }; 227 };
228 228
229 class DeveloperPrivateInspectFunction : public UIThreadExtensionFunction {
230 public:
231 DECLARE_EXTENSION_FUNCTION("developerPrivate.inspect",
232 DEVELOPERPRIVATE_INSPECT)
233
234 protected:
235 ~DeveloperPrivateInspectFunction() override;
236
237 // ExtensionFunction:
238 ResponseAction Run() override;
239 };
240
241 class DeveloperPrivateUpdateExtensionConfigurationFunction 229 class DeveloperPrivateUpdateExtensionConfigurationFunction
242 : public DeveloperPrivateAPIFunction { 230 : public DeveloperPrivateAPIFunction {
243 public: 231 public:
244 DECLARE_EXTENSION_FUNCTION("developerPrivate.updateExtensionConfiguration", 232 DECLARE_EXTENSION_FUNCTION("developerPrivate.updateExtensionConfiguration",
245 DEVELOPERPRIVATE_UPDATEEXTENSIONCONFIGURATION); 233 DEVELOPERPRIVATE_UPDATEEXTENSIONCONFIGURATION);
246 234
247 protected: 235 protected:
248 ~DeveloperPrivateUpdateExtensionConfigurationFunction() override; 236 ~DeveloperPrivateUpdateExtensionConfigurationFunction() override;
249 ResponseAction Run() override; 237 ResponseAction Run() override;
250 }; 238 };
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 protected: 439 protected:
452 ~DeveloperPrivateOpenDevToolsFunction() override; 440 ~DeveloperPrivateOpenDevToolsFunction() override;
453 ResponseAction Run() override; 441 ResponseAction Run() override;
454 }; 442 };
455 443
456 } // namespace api 444 } // namespace api
457 445
458 } // namespace extensions 446 } // namespace extensions
459 447
460 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API _H_ 448 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API _H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/developer_private/developer_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698