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

Side by Side Diff: remoting/host/json_host_config.h

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 | « remoting/host/it2me_desktop_environment.h ('k') | remoting/host/linux/audio_pipe_reader.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 REMOTING_HOST_JSON_HOST_CONFIG_H_ 5 #ifndef REMOTING_HOST_JSON_HOST_CONFIG_H_
6 #define REMOTING_HOST_JSON_HOST_CONFIG_H_ 6 #define REMOTING_HOST_JSON_HOST_CONFIG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "remoting/host/in_memory_host_config.h" 11 #include "remoting/host/in_memory_host_config.h"
12 12
13 namespace base { 13 namespace base {
14 class MessageLoopProxy; 14 class MessageLoopProxy;
15 } // namespace base 15 } // namespace base
16 16
17 namespace remoting { 17 namespace remoting {
18 18
19 // JsonHostConfig implements MutableHostConfig for JSON file. 19 // JsonHostConfig implements MutableHostConfig for JSON file.
20 class JsonHostConfig : public InMemoryHostConfig { 20 class JsonHostConfig : public InMemoryHostConfig {
21 public: 21 public:
22 JsonHostConfig(const base::FilePath& filename); 22 JsonHostConfig(const base::FilePath& filename);
23 virtual ~JsonHostConfig(); 23 virtual ~JsonHostConfig();
24 24
25 virtual bool Read(); 25 virtual bool Read();
26 26
27 // MutableHostConfig interface. 27 // MutableHostConfig interface.
28 virtual bool Save() OVERRIDE; 28 virtual bool Save() override;
29 29
30 std::string GetSerializedData(); 30 std::string GetSerializedData();
31 31
32 // Sets the configuration from serialized JSON data. Returns false if the data 32 // Sets the configuration from serialized JSON data. Returns false if the data
33 // could not be parsed. 33 // could not be parsed.
34 bool SetSerializedData(const std::string& config); 34 bool SetSerializedData(const std::string& config);
35 35
36 private: 36 private:
37 base::FilePath filename_; 37 base::FilePath filename_;
38 38
39 DISALLOW_COPY_AND_ASSIGN(JsonHostConfig); 39 DISALLOW_COPY_AND_ASSIGN(JsonHostConfig);
40 }; 40 };
41 41
42 } // namespace remoting 42 } // namespace remoting
43 43
44 #endif // REMOTING_HOST_JSON_HOST_CONFIG_H_ 44 #endif // REMOTING_HOST_JSON_HOST_CONFIG_H_
OLDNEW
« no previous file with comments | « remoting/host/it2me_desktop_environment.h ('k') | remoting/host/linux/audio_pipe_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698