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

Side by Side Diff: extensions/renderer/v8_schema_registry.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
« no previous file with comments | « extensions/renderer/v8_schema_registry.h ('k') | extensions/renderer/wake_event_page.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/v8_schema_registry.h" 5 #include "extensions/renderer/v8_schema_registry.h"
6 6
7 #include <stddef.h>
8
7 #include <utility> 9 #include <utility>
8 10
9 #include "base/logging.h" 11 #include "base/logging.h"
10 #include "base/values.h" 12 #include "base/values.h"
11 #include "content/public/child/v8_value_converter.h" 13 #include "content/public/child/v8_value_converter.h"
12 #include "extensions/common/extension_api.h" 14 #include "extensions/common/extension_api.h"
13 #include "extensions/renderer/object_backed_native_handler.h" 15 #include "extensions/renderer/object_backed_native_handler.h"
14 #include "extensions/renderer/script_context.h" 16 #include "extensions/renderer/script_context.h"
15 17
16 using content::V8ValueConverter; 18 using content::V8ValueConverter;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 if (!context_holder_) { 116 if (!context_holder_) {
115 context_holder_.reset(new gin::ContextHolder(isolate)); 117 context_holder_.reset(new gin::ContextHolder(isolate));
116 context_holder_->SetContext(v8::Context::New(isolate)); 118 context_holder_->SetContext(v8::Context::New(isolate));
117 schema_cache_.reset(new SchemaCache(isolate)); 119 schema_cache_.reset(new SchemaCache(isolate));
118 return context_holder_->context(); 120 return context_holder_->context();
119 } 121 }
120 return context_holder_->context(); 122 return context_holder_->context();
121 } 123 }
122 124
123 } // namespace extensions 125 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/renderer/v8_schema_registry.h ('k') | extensions/renderer/wake_event_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698