OLD | NEW |
1 // Copyright 2006 The Chromium Authors. All rights reserved. | 1 // Copyright 2006 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 COMPONENTS_SESSIONS_SESSION_COMMAND_H_ | 5 #ifndef COMPONENTS_SESSIONS_CORE_SESSION_COMMAND_H_ |
6 #define COMPONENTS_SESSIONS_SESSION_COMMAND_H_ | 6 #define COMPONENTS_SESSIONS_CORE_SESSION_COMMAND_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "components/sessions/sessions_export.h" | 11 #include "components/sessions/core/sessions_export.h" |
12 | 12 |
13 namespace base { | 13 namespace base { |
14 class Pickle; | 14 class Pickle; |
15 } | 15 } |
16 | 16 |
17 namespace sessions { | 17 namespace sessions { |
18 | 18 |
19 // SessionCommand contains a command id and arbitrary chunk of data. The id | 19 // SessionCommand contains a command id and arbitrary chunk of data. The id |
20 // and chunk of data are specific to the service creating them. | 20 // and chunk of data are specific to the service creating them. |
21 // | 21 // |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 65 |
66 private: | 66 private: |
67 const id_type id_; | 67 const id_type id_; |
68 std::string contents_; | 68 std::string contents_; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(SessionCommand); | 70 DISALLOW_COPY_AND_ASSIGN(SessionCommand); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace sessions | 73 } // namespace sessions |
74 | 74 |
75 #endif // COMPONENTS_SESSIONS_SESSION_COMMAND_H_ | 75 #endif // COMPONENTS_SESSIONS_CORE_SESSION_COMMAND_H_ |
OLD | NEW |