| 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/renderer/extensions/set_icon_natives.h" | 5 #include "chrome/renderer/extensions/set_icon_natives.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 | 8 |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "chrome/common/render_messages.h" | 10 #include "chrome/common/render_messages.h" |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 std::string name = *v8::String::Utf8Value(args[0]); | 151 std::string name = *v8::String::Utf8Value(args[0]); |
| 152 int request_id = args[2]->Int32Value(); | 152 int request_id = args[2]->Int32Value(); |
| 153 bool has_callback = args[3]->BooleanValue(); | 153 bool has_callback = args[3]->BooleanValue(); |
| 154 bool for_io_thread = args[4]->BooleanValue(); | 154 bool for_io_thread = args[4]->BooleanValue(); |
| 155 | 155 |
| 156 request_sender_->StartRequest(context(), | 156 request_sender_->StartRequest(context(), |
| 157 name, | 157 name, |
| 158 request_id, | 158 request_id, |
| 159 has_callback, | 159 has_callback, |
| 160 for_io_thread, | 160 for_io_thread, |
| 161 -1, // no tab id. |
| 161 &list_value); | 162 &list_value); |
| 162 } | 163 } |
| 163 | 164 |
| 164 } // namespace extensions | 165 } // namespace extensions |
| OLD | NEW |