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

Side by Side Diff: tools/gn/config.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/builder_unittest.cc ('k') | tools/gn/copy_target_generator.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_CONFIG_H_ 5 #ifndef TOOLS_GN_CONFIG_H_
6 #define TOOLS_GN_CONFIG_H_ 6 #define TOOLS_GN_CONFIG_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "tools/gn/config_values.h" 9 #include "tools/gn/config_values.h"
10 #include "tools/gn/item.h" 10 #include "tools/gn/item.h"
11 11
12 // Represents a named config in the dependency graph. 12 // Represents a named config in the dependency graph.
13 class Config : public Item { 13 class Config : public Item {
14 public: 14 public:
15 Config(const Settings* settings, const Label& label); 15 Config(const Settings* settings, const Label& label);
16 virtual ~Config(); 16 virtual ~Config();
17 17
18 virtual Config* AsConfig() OVERRIDE; 18 virtual Config* AsConfig() override;
19 virtual const Config* AsConfig() const OVERRIDE; 19 virtual const Config* AsConfig() const override;
20 20
21 ConfigValues& config_values() { return config_values_; } 21 ConfigValues& config_values() { return config_values_; }
22 const ConfigValues& config_values() const { return config_values_; } 22 const ConfigValues& config_values() const { return config_values_; }
23 23
24 private: 24 private:
25 ConfigValues config_values_; 25 ConfigValues config_values_;
26 26
27 DISALLOW_COPY_AND_ASSIGN(Config); 27 DISALLOW_COPY_AND_ASSIGN(Config);
28 }; 28 };
29 29
30 #endif // TOOLS_GN_CONFIG_H_ 30 #endif // TOOLS_GN_CONFIG_H_
OLDNEW
« no previous file with comments | « tools/gn/builder_unittest.cc ('k') | tools/gn/copy_target_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698