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

Unified Diff: tools/gn/input_file_manager.cc

Issue 229423002: Improve public header file checking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: include static cast for 64 bit Created 6 years, 8 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/input_file_manager.h ('k') | tools/gn/variables.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/input_file_manager.cc
diff --git a/tools/gn/input_file_manager.cc b/tools/gn/input_file_manager.cc
index ddd79596341cafee67e9bae961427c26d88f5377..04578b60643b977c02304ba5a6f6e7fb0dac6284 100644
--- a/tools/gn/input_file_manager.cc
+++ b/tools/gn/input_file_manager.cc
@@ -167,10 +167,11 @@ const ParseNode* InputFileManager::SyncLoadFile(
return data->parsed_root.get();
}
-void InputFileManager::AddDynamicInput(InputFile** file,
+void InputFileManager::AddDynamicInput(const SourceFile& name,
+ InputFile** file,
std::vector<Token>** tokens,
scoped_ptr<ParseNode>** parse_root) {
- InputFileData* data = new InputFileData(SourceFile());
+ InputFileData* data = new InputFileData(name);
{
base::AutoLock lock(lock_);
dynamic_inputs_.push_back(data);
« no previous file with comments | « tools/gn/input_file_manager.h ('k') | tools/gn/variables.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698