OLD | NEW |
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 <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 | 461 |
462 void AutomationInternalQuerySelectorFunction::OnResponse( | 462 void AutomationInternalQuerySelectorFunction::OnResponse( |
463 const std::string& error, | 463 const std::string& error, |
464 int result_acc_obj_id) { | 464 int result_acc_obj_id) { |
465 if (!error.empty()) { | 465 if (!error.empty()) { |
466 Respond(Error(error)); | 466 Respond(Error(error)); |
467 return; | 467 return; |
468 } | 468 } |
469 | 469 |
470 Respond( | 470 Respond( |
471 OneArgument(base::MakeUnique<base::FundamentalValue>(result_acc_obj_id))); | 471 OneArgument(base::MakeUnique<base::Value>(result_acc_obj_id))); |
472 } | 472 } |
473 | 473 |
474 } // namespace extensions | 474 } // namespace extensions |
OLD | NEW |