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

Side by Side Diff: extensions/renderer/object_backed_native_handler.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/object_backed_native_handler.h" 5 #include "extensions/renderer/object_backed_native_handler.h"
6 6
7 #include <stddef.h>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
8 #include "base/memory/linked_ptr.h" 10 #include "base/memory/linked_ptr.h"
9 #include "extensions/renderer/console.h" 11 #include "extensions/renderer/console.h"
10 #include "extensions/renderer/module_system.h" 12 #include "extensions/renderer/module_system.h"
11 #include "extensions/renderer/script_context.h" 13 #include "extensions/renderer/script_context.h"
12 #include "extensions/renderer/script_context_set.h" 14 #include "extensions/renderer/script_context_set.h"
13 #include "v8/include/v8.h" 15 #include "v8/include/v8.h"
14 16
15 namespace extensions { 17 namespace extensions {
16 18
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 v8::Local<v8::Object> obj, 148 v8::Local<v8::Object> obj,
147 const char* key) { 149 const char* key) {
148 obj->DeletePrivate(context, 150 obj->DeletePrivate(context,
149 v8::Private::ForApi( 151 v8::Private::ForApi(
150 context->GetIsolate(), 152 context->GetIsolate(),
151 v8::String::NewFromUtf8(context->GetIsolate(), key))) 153 v8::String::NewFromUtf8(context->GetIsolate(), key)))
152 .FromJust(); 154 .FromJust();
153 } 155 }
154 156
155 } // namespace extensions 157 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/renderer/object_backed_native_handler.h ('k') | extensions/renderer/process_info_native_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698