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

Side by Side Diff: gin/modules/module_registry.cc

Issue 69293015: Add a gin/public directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « gin/modules/console.cc ('k') | gin/per_context_data.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "gin/modules/module_registry.h" 5 #include "gin/modules/module_registry.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "gin/arguments.h" 11 #include "gin/arguments.h"
12 #include "gin/converter.h" 12 #include "gin/converter.h"
13 #include "gin/per_isolate_data.h" 13 #include "gin/per_isolate_data.h"
14 #include "gin/wrapper_info.h" 14 #include "gin/public/wrapper_info.h"
15 15
16 using v8::Context; 16 using v8::Context;
17 using v8::External; 17 using v8::External;
18 using v8::Function; 18 using v8::Function;
19 using v8::FunctionTemplate; 19 using v8::FunctionTemplate;
20 using v8::Handle; 20 using v8::Handle;
21 using v8::Isolate; 21 using v8::Isolate;
22 using v8::Local; 22 using v8::Local;
23 using v8::Object; 23 using v8::Object;
24 using v8::ObjectTemplate; 24 using v8::ObjectTemplate;
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 for (size_t i = 0; i < pending_modules.size(); ++i) { 222 for (size_t i = 0; i < pending_modules.size(); ++i) {
223 scoped_ptr<PendingModule> pending(pending_modules[i]); 223 scoped_ptr<PendingModule> pending(pending_modules[i]);
224 pending_modules[i] = NULL; 224 pending_modules[i] = NULL;
225 if (AttemptToLoad(isolate, pending.Pass())) 225 if (AttemptToLoad(isolate, pending.Pass()))
226 keep_trying = true; 226 keep_trying = true;
227 } 227 }
228 } 228 }
229 } 229 }
230 230
231 } // namespace gin 231 } // namespace gin
OLDNEW
« no previous file with comments | « gin/modules/console.cc ('k') | gin/per_context_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698