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

Side by Side Diff: gin/modules/file_module_provider.h

Issue 1541743002: Switch to standard integer types in gin/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 | « gin/isolate_holder.cc ('k') | gin/modules/file_module_provider.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 #ifndef GIN_MODULES_FILE_MODULE_PROVIDER_H_ 5 #ifndef GIN_MODULES_FILE_MODULE_PROVIDER_H_
6 #define GIN_MODULES_FILE_MODULE_PROVIDER_H_ 6 #define GIN_MODULES_FILE_MODULE_PROVIDER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/macros.h"
13 #include "gin/gin_export.h" 14 #include "gin/gin_export.h"
14 #include "gin/runner.h" 15 #include "gin/runner.h"
15 16
16 namespace gin { 17 namespace gin {
17 18
18 // FileModuleProvider knows how to load AMD modules off disk. It searches for 19 // FileModuleProvider knows how to load AMD modules off disk. It searches for
19 // modules in the directories indiciated by |search_paths|. Although we still 20 // modules in the directories indiciated by |search_paths|. Although we still
20 // read from the file system on the main thread, we'll eventually want to move 21 // read from the file system on the main thread, we'll eventually want to move
21 // the reads to a background thread. 22 // the reads to a background thread.
22 class GIN_EXPORT FileModuleProvider { 23 class GIN_EXPORT FileModuleProvider {
(...skipping 12 matching lines...) Expand all
35 // We'll only search for a given module once. We remember the set of modules 36 // We'll only search for a given module once. We remember the set of modules
36 // we've already looked for in |attempted_ids_|. 37 // we've already looked for in |attempted_ids_|.
37 std::set<std::string> attempted_ids_; 38 std::set<std::string> attempted_ids_;
38 39
39 DISALLOW_COPY_AND_ASSIGN(FileModuleProvider); 40 DISALLOW_COPY_AND_ASSIGN(FileModuleProvider);
40 }; 41 };
41 42
42 } // namespace gin 43 } // namespace gin
43 44
44 #endif // GIN_MODULES_FILE_MODULE_PROVIDER_H_ 45 #endif // GIN_MODULES_FILE_MODULE_PROVIDER_H_
OLDNEW
« no previous file with comments | « gin/isolate_holder.cc ('k') | gin/modules/file_module_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698