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

Side by Side Diff: tools/gn/scheduler.h

Issue 1280123005: tools/gn: Remove includes of basictypes.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 TOOLS_GN_SCHEDULER_H_ 5 #ifndef TOOLS_GN_SCHEDULER_H_
6 #define TOOLS_GN_SCHEDULER_H_ 6 #define TOOLS_GN_SCHEDULER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/atomic_ref_count.h" 10 #include "base/atomic_ref_count.h"
11 #include "base/basictypes.h"
12 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/macros.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/run_loop.h" 14 #include "base/run_loop.h"
15 #include "base/synchronization/lock.h" 15 #include "base/synchronization/lock.h"
16 #include "base/threading/sequenced_worker_pool.h" 16 #include "base/threading/sequenced_worker_pool.h"
17 #include "tools/gn/input_file_manager.h" 17 #include "tools/gn/input_file_manager.h"
18 18
19 class Target; 19 class Target;
20 20
21 // Maintains the thread pool and error state. 21 // Maintains the thread pool and error state.
22 class Scheduler { 22 class Scheduler {
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 std::vector<SourceFile> written_files_; 116 std::vector<SourceFile> written_files_;
117 std::multimap<SourceFile, const Target*> unknown_generated_inputs_; 117 std::multimap<SourceFile, const Target*> unknown_generated_inputs_;
118 118
119 DISALLOW_COPY_AND_ASSIGN(Scheduler); 119 DISALLOW_COPY_AND_ASSIGN(Scheduler);
120 }; 120 };
121 121
122 extern Scheduler* g_scheduler; 122 extern Scheduler* g_scheduler;
123 123
124 #endif // TOOLS_GN_SCHEDULER_H_ 124 #endif // TOOLS_GN_SCHEDULER_H_
125 125
OLDNEW
« tools/gn/args.h ('K') | « tools/gn/path_output.h ('k') | tools/gn/scope.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698