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

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: Response to code review by Marc 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 WebstorePrivateIsExtensionPendingCustodianApprovalFunction
292 : public UIThreadExtensionFunction {
293 public:
294 DECLARE_EXTENSION_FUNCTION(
295 "webstorePrivate.isExtensionPendingCustodianApproval",
296 WEBSTOREPRIVATE_ISEXTENSIONPENDINGCUSTODIANAPPROVAL)
297
298 WebstorePrivateIsExtensionPendingCustodianApprovalFunction();
299
300 private:
301 ~WebstorePrivateIsExtensionPendingCustodianApprovalFunction() override;
302
303 // ExtensionFunction:
304 ExtensionFunction::ResponseAction Run() override;
305
306 ChromeExtensionFunctionDetails chrome_details_;
307
308 ExtensionFunction::ResponseValue BuildResponse(bool result);
Marc Treib 2016/06/29 12:01:09 Methods go before members
mamir 2016/06/29 12:26:22 Ooops, sorry. Done!
309 };
310
291 } // namespace extensions 311 } // namespace extensions
292 312
293 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_PRIVATE_WEBSTORE_PRIVATE_API_H _ 313 #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