| OLD | NEW |
| 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/infobars/infobar_extension_api.h" | 5 #include "chrome/browser/infobars/infobar_extension_api.h" |
| 6 | 6 |
| 7 #include "base/strings/string_number_conversions.h" | 7 #include "base/strings/string_number_conversions.h" |
| 8 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
| 9 #include "base/values.h" | 9 #include "base/values.h" |
| 10 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" | 10 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 | 22 |
| 23 bool InfobarsShowFunction::RunImpl() { | 23 bool InfobarsShowFunction::RunImpl() { |
| 24 base::DictionaryValue* args; | 24 base::DictionaryValue* args; |
| 25 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &args)); | 25 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &args)); |
| 26 | 26 |
| 27 const char kTabId[] = "tabId"; | 27 const char kTabId[] = "tabId"; |
| 28 int tab_id; | 28 int tab_id; |
| 29 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(kTabId, &tab_id)); | 29 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(kTabId, &tab_id)); |
| 30 | 30 |
error: old chunk mismatch |
None
| OLD | NEW |