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

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

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 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
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 #include "chrome/browser/extensions/api/webstore_private/webstore_private_api.h" 5 #include "chrome/browser/extensions/api/webstore_private/webstore_private_api.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 } 648 }
649 649
650 bool is_pending_approval = extensions_prefs->HasDisableReason( 650 bool is_pending_approval = extensions_prefs->HasDisableReason(
651 params->id, Extension::DISABLE_CUSTODIAN_APPROVAL_REQUIRED); 651 params->id, Extension::DISABLE_CUSTODIAN_APPROVAL_REQUIRED);
652 652
653 return RespondNow(BuildResponse(is_pending_approval)); 653 return RespondNow(BuildResponse(is_pending_approval));
654 } 654 }
655 655
656 ExtensionFunction::ResponseValue 656 ExtensionFunction::ResponseValue
657 WebstorePrivateIsPendingCustodianApprovalFunction::BuildResponse(bool result) { 657 WebstorePrivateIsPendingCustodianApprovalFunction::BuildResponse(bool result) {
658 return OneArgument(base::MakeUnique<base::FundamentalValue>(result)); 658 return OneArgument(base::MakeUnique<base::Value>(result));
659 } 659 }
660 660
661 } // namespace extensions 661 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698