| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CLOUD_PRINT_SERVICE_SERVICE_CONTROLLER_H_ | 5 #ifndef CLOUD_PRINT_SERVICE_SERVICE_CONTROLLER_H_ |
| 6 #define CLOUD_PRINT_SERVICE_SERVICE_CONTROLLER_H_ | 6 #define CLOUD_PRINT_SERVICE_SERVICE_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <atlbase.h> | 8 #include <atlbase.h> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "cloud_print/service/resources.h" | 13 #include "cloud_print/resources.h" |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class FilePath; | 16 class FilePath; |
| 17 } // base | 17 } // base |
| 18 | 18 |
| 19 class ServiceController { | 19 class ServiceController { |
| 20 public: | 20 public: |
| 21 enum State { | 21 enum State { |
| 22 STATE_UNKNOWN = 0, | 22 STATE_UNKNOWN = 0, |
| 23 STATE_NOT_FOUND, | 23 STATE_NOT_FOUND, |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 const base::string16 name_; | 68 const base::string16 name_; |
| 69 State state_; | 69 State state_; |
| 70 base::string16 user_; | 70 base::string16 user_; |
| 71 bool is_logging_enabled_; | 71 bool is_logging_enabled_; |
| 72 base::CommandLine command_line_; | 72 base::CommandLine command_line_; |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 #endif // CLOUD_PRINT_SERVICE_SERVICE_CONTROLLER_H_ | 75 #endif // CLOUD_PRINT_SERVICE_SERVICE_CONTROLLER_H_ |
| 76 | 76 |
| OLD | NEW |