OLD | NEW |
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 CLOUD_PRINT_SERVICE_SERVICE_STATE_H_ | 5 #ifndef CLOUD_PRINT_SERVICE_SERVICE_STATE_H_ |
6 #define CLOUD_PRINT_SERVICE_SERVICE_STATE_H_ | 6 #define CLOUD_PRINT_SERVICE_SERVICE_STATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "base/values.h" | 12 #include "base/values.h" |
12 | 13 |
13 // Manages Cloud Print part of Service State. | 14 // Manages Cloud Print part of Service State. |
14 class ServiceState { | 15 class ServiceState { |
15 public: | 16 public: |
16 ServiceState(); | 17 ServiceState(); |
17 virtual ~ServiceState(); | 18 virtual ~ServiceState(); |
18 | 19 |
19 void Reset(); | 20 void Reset(); |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 std::string robot_email_; | 92 std::string robot_email_; |
92 std::string robot_token_; | 93 std::string robot_token_; |
93 std::string auth_token_; | 94 std::string auth_token_; |
94 std::string xmpp_auth_token_; | 95 std::string xmpp_auth_token_; |
95 | 96 |
96 DISALLOW_COPY_AND_ASSIGN(ServiceState); | 97 DISALLOW_COPY_AND_ASSIGN(ServiceState); |
97 }; | 98 }; |
98 | 99 |
99 #endif // CLOUD_PRINT_SERVICE_SERVICE_STATE_H_ | 100 #endif // CLOUD_PRINT_SERVICE_SERVICE_STATE_H_ |
100 | 101 |
OLD | NEW |