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

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

Issue 631653002: Replacing the OVERRIDE with override in tools folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Corrected patch-set-1 Created 6 years, 2 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
« no previous file with comments | « tools/gn/loader.h ('k') | tools/gn/ninja_binary_target_writer.h » ('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 (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_NINJA_ACTION_TARGET_WRITER_H_ 5 #ifndef TOOLS_GN_NINJA_ACTION_TARGET_WRITER_H_
6 #define TOOLS_GN_NINJA_ACTION_TARGET_WRITER_H_ 6 #define TOOLS_GN_NINJA_ACTION_TARGET_WRITER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "tools/gn/ninja_target_writer.h" 12 #include "tools/gn/ninja_target_writer.h"
13 13
14 class OutputFile; 14 class OutputFile;
15 15
16 // Writes a .ninja file for a action target type. 16 // Writes a .ninja file for a action target type.
17 class NinjaActionTargetWriter : public NinjaTargetWriter { 17 class NinjaActionTargetWriter : public NinjaTargetWriter {
18 public: 18 public:
19 NinjaActionTargetWriter(const Target* target, std::ostream& out); 19 NinjaActionTargetWriter(const Target* target, std::ostream& out);
20 virtual ~NinjaActionTargetWriter(); 20 virtual ~NinjaActionTargetWriter();
21 21
22 virtual void Run() OVERRIDE; 22 virtual void Run() override;
23 23
24 private: 24 private:
25 FRIEND_TEST_ALL_PREFIXES(NinjaActionTargetWriter, 25 FRIEND_TEST_ALL_PREFIXES(NinjaActionTargetWriter,
26 WriteOutputFilesForBuildLine); 26 WriteOutputFilesForBuildLine);
27 FRIEND_TEST_ALL_PREFIXES(NinjaActionTargetWriter, 27 FRIEND_TEST_ALL_PREFIXES(NinjaActionTargetWriter,
28 WriteOutputFilesForBuildLineWithDepfile); 28 WriteOutputFilesForBuildLineWithDepfile);
29 FRIEND_TEST_ALL_PREFIXES(NinjaActionTargetWriter, 29 FRIEND_TEST_ALL_PREFIXES(NinjaActionTargetWriter,
30 WriteArgsSubstitutions); 30 WriteArgsSubstitutions);
31 31
32 // Writes the Ninja rule for invoking the script. 32 // Writes the Ninja rule for invoking the script.
(...skipping 22 matching lines...) Expand all
55 55
56 // Path output writer that doesn't do any escaping or quoting. It does, 56 // Path output writer that doesn't do any escaping or quoting. It does,
57 // however, convert slashes. Used for 57 // however, convert slashes. Used for
58 // computing intermediate strings. 58 // computing intermediate strings.
59 PathOutput path_output_no_escaping_; 59 PathOutput path_output_no_escaping_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(NinjaActionTargetWriter); 61 DISALLOW_COPY_AND_ASSIGN(NinjaActionTargetWriter);
62 }; 62 };
63 63
64 #endif // TOOLS_GN_NINJA_ACTION_TARGET_WRITER_H_ 64 #endif // TOOLS_GN_NINJA_ACTION_TARGET_WRITER_H_
OLDNEW
« no previous file with comments | « tools/gn/loader.h ('k') | tools/gn/ninja_binary_target_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698