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

Side by Side Diff: extensions/renderer/set_icon_natives.cc

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 5 years 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 "extensions/renderer/set_icon_natives.h" 5 #include "extensions/renderer/set_icon_natives.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <limits> 10 #include <limits>
8 11
12 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
10 #include "content/public/common/common_param_traits.h" 14 #include "content/public/common/common_param_traits.h"
11 #include "extensions/renderer/request_sender.h" 15 #include "extensions/renderer/request_sender.h"
12 #include "extensions/renderer/script_context.h" 16 #include "extensions/renderer/script_context.h"
13 #include "ipc/ipc_message_utils.h" 17 #include "ipc/ipc_message_utils.h"
14 #include "third_party/WebKit/public/web/WebArrayBufferConverter.h" 18 #include "third_party/WebKit/public/web/WebArrayBufferConverter.h"
15 #include "third_party/skia/include/core/SkBitmap.h" 19 #include "third_party/skia/include/core/SkBitmap.h"
16 #include "ui/gfx/ipc/gfx_param_traits.h" 20 #include "ui/gfx/ipc/gfx_param_traits.h"
17 21
18 namespace { 22 namespace {
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 bitmap_set_value); 145 bitmap_set_value);
142 if (details->Has(v8::String::NewFromUtf8(args.GetIsolate(), "tabId"))) { 146 if (details->Has(v8::String::NewFromUtf8(args.GetIsolate(), "tabId"))) {
143 dict->Set( 147 dict->Set(
144 v8::String::NewFromUtf8(args.GetIsolate(), "tabId"), 148 v8::String::NewFromUtf8(args.GetIsolate(), "tabId"),
145 details->Get(v8::String::NewFromUtf8(args.GetIsolate(), "tabId"))); 149 details->Get(v8::String::NewFromUtf8(args.GetIsolate(), "tabId")));
146 } 150 }
147 args.GetReturnValue().Set(dict); 151 args.GetReturnValue().Set(dict);
148 } 152 }
149 153
150 } // namespace extensions 154 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/renderer/set_icon_natives.h ('k') | extensions/renderer/static_v8_external_one_byte_string_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698