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

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: Fixing nits about coding style. Created 4 years, 7 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 // 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.isExtensionCustodianPendingApproval",
Marc Treib 2016/05/09 13:44:57 isExtensionPendingCustodianApproval
mamir 2016/05/09 14:42:19 Done.
Marc Treib 2016/05/09 14:50:57 No. Please proofread your code.
mamir 2016/05/09 15:30:14 Sorry! Done.
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
291 } // namespace extensions 309 } // namespace extensions
292 310
293 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_PRIVATE_WEBSTORE_PRIVATE_API_H _ 311 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_PRIVATE_WEBSTORE_PRIVATE_API_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698