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

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

Issue 8601011: Add OVERRIDE to remoting/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/file_path.h" 10 #include "base/file_path.h"
(...skipping 10 matching lines...) Expand all
21 // JsonHostConfig implements MutableHostConfig for JSON file. 21 // JsonHostConfig implements MutableHostConfig for JSON file.
22 class JsonHostConfig : public InMemoryHostConfig { 22 class JsonHostConfig : public InMemoryHostConfig {
23 public: 23 public:
24 JsonHostConfig(const FilePath& pref_filename, 24 JsonHostConfig(const FilePath& pref_filename,
25 base::MessageLoopProxy* file_message_loop_proxy); 25 base::MessageLoopProxy* file_message_loop_proxy);
26 virtual ~JsonHostConfig(); 26 virtual ~JsonHostConfig();
27 27
28 virtual bool Read(); 28 virtual bool Read();
29 29
30 // MutableHostConfig interface. 30 // MutableHostConfig interface.
31 virtual void Save(); 31 virtual void Save() OVERRIDE;
32 32
33 private: 33 private:
34 void DoWrite(); 34 void DoWrite();
35 35
36 FilePath filename_; 36 FilePath filename_;
37 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; 37 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_;
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/in_memory_host_config.h ('k') | remoting/jingle_glue/javascript_signal_strategy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698