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

Side by Side Diff: chrome/browser/extensions/api/automation_internal/automation_internal_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/automation_internal/automation_internal_ api.h" 5 #include "chrome/browser/extensions/api/automation_internal/automation_internal_ api.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 } 505 }
506 506
507 void AutomationInternalQuerySelectorFunction::OnResponse( 507 void AutomationInternalQuerySelectorFunction::OnResponse(
508 const std::string& error, 508 const std::string& error,
509 int result_acc_obj_id) { 509 int result_acc_obj_id) {
510 if (!error.empty()) { 510 if (!error.empty()) {
511 Respond(Error(error)); 511 Respond(Error(error));
512 return; 512 return;
513 } 513 }
514 514
515 Respond( 515 Respond(OneArgument(base::MakeUnique<base::Value>(result_acc_obj_id)));
516 OneArgument(base::MakeUnique<base::FundamentalValue>(result_acc_obj_id)));
517 } 516 }
518 517
519 } // namespace extensions 518 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698