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

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

Issue 19925003: WIP - command line experiment Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/shared_impl/ppapi_switches.h ('k') | remoting/host/config_file_watcher.cc » ('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_DAEMON_CONFIG_WATCHER_H_ 5 #ifndef REMOTING_HOST_DAEMON_CONFIG_WATCHER_H_
6 #define REMOTING_HOST_DAEMON_CONFIG_WATCHER_H_ 6 #define REMOTING_HOST_DAEMON_CONFIG_WATCHER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 12
13 namespace base { 13 namespace base {
14 class SingleThreadTaskRunner; 14 class SingleThreadTaskRunner;
15 } // namespace base 15 } // namespace base
16 16
17 namespace remoting { 17 namespace remoting {
18 18
19 extern const char kHostConfigSwitchName[]; 19 namespace {
20 const char kHostConfigSwitchName[] = "host-config";
21 }
22
20 extern const base::FilePath::CharType kDefaultHostConfigFile[]; 23 extern const base::FilePath::CharType kDefaultHostConfigFile[];
21 24
22 class ConfigFileWatcherImpl; 25 class ConfigFileWatcherImpl;
23 26
24 class ConfigFileWatcher { 27 class ConfigFileWatcher {
25 public: 28 public:
26 class Delegate { 29 class Delegate {
27 public: 30 public:
28 virtual ~Delegate(); 31 virtual ~Delegate();
29 32
(...skipping 18 matching lines...) Expand all
48 51
49 private: 52 private:
50 scoped_refptr<ConfigFileWatcherImpl> impl_; 53 scoped_refptr<ConfigFileWatcherImpl> impl_;
51 54
52 DISALLOW_COPY_AND_ASSIGN(ConfigFileWatcher); 55 DISALLOW_COPY_AND_ASSIGN(ConfigFileWatcher);
53 }; 56 };
54 57
55 } // namespace remoting 58 } // namespace remoting
56 59
57 #endif // REMOTING_HOST_DAEMON_CONFIG_WATCHER_H_ 60 #endif // REMOTING_HOST_DAEMON_CONFIG_WATCHER_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/ppapi_switches.h ('k') | remoting/host/config_file_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698