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

Side by Side Diff: chrome/browser/extensions/api/webstore_private/webstore_private_api.h

Issue 1948133004: CWS Private API - isPendingCustodianApproval (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kid_initiated_install
Patch Set: rebasing Created 4 years, 5 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/webstore_private/webstore_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_WEBSTORE_PRIVATE_WEBSTORE_PRIVATE_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_PRIVATE_WEBSTORE_PRIVATE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_PRIVATE_WEBSTORE_PRIVATE_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_PRIVATE_WEBSTORE_PRIVATE_API_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 281
282 WebstorePrivateGetEphemeralAppsEnabledFunction(); 282 WebstorePrivateGetEphemeralAppsEnabledFunction();
283 283
284 private: 284 private:
285 ~WebstorePrivateGetEphemeralAppsEnabledFunction() override; 285 ~WebstorePrivateGetEphemeralAppsEnabledFunction() override;
286 286
287 // ExtensionFunction: 287 // ExtensionFunction:
288 ExtensionFunction::ResponseAction Run() override; 288 ExtensionFunction::ResponseAction Run() override;
289 }; 289 };
290 290
291 class WebstorePrivateIsPendingCustodianApprovalFunction
292 : public UIThreadExtensionFunction {
293 public:
294 DECLARE_EXTENSION_FUNCTION("webstorePrivate.isPendingCustodianApproval",
295 WEBSTOREPRIVATE_ISPENDINGCUSTODIANAPPROVAL)
296
297 WebstorePrivateIsPendingCustodianApprovalFunction();
298
299 private:
300 ~WebstorePrivateIsPendingCustodianApprovalFunction() override;
301
302 // ExtensionFunction:
303 ExtensionFunction::ResponseAction Run() override;
304
305 ExtensionFunction::ResponseValue BuildResponse(bool result);
306
307 ChromeExtensionFunctionDetails chrome_details_;
308 };
309
291 } // namespace extensions 310 } // namespace extensions
292 311
293 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_PRIVATE_WEBSTORE_PRIVATE_API_H _ 312 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_PRIVATE_WEBSTORE_PRIVATE_API_H _
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/webstore_private/webstore_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698