OLD | NEW |
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 CONTENT_PUBLIC_COMMON_SERIALIZED_SCRIPT_VALUE_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_SERIALIZED_SCRIPT_VALUE_H_ |
6 #define CONTENT_PUBLIC_COMMON_SERIALIZED_SCRIPT_VALUE_H_ | 6 #define CONTENT_PUBLIC_COMMON_SERIALIZED_SCRIPT_VALUE_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/string16.h" | 8 #include "base/string16.h" |
10 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
11 | 10 |
12 namespace WebKit { | 11 namespace WebKit { |
13 class WebSerializedScriptValue; | 12 class WebSerializedScriptValue; |
14 } | 13 } |
15 | 14 |
16 namespace content { | 15 namespace content { |
17 | 16 |
(...skipping 19 matching lines...) Expand all Loading... |
37 | 36 |
38 private: | 37 private: |
39 bool is_null_; // Is this null? If so, none of the other properties are valid. | 38 bool is_null_; // Is this null? If so, none of the other properties are valid. |
40 bool is_invalid_; // Is data_ valid? | 39 bool is_invalid_; // Is data_ valid? |
41 string16 data_; // The wire string format of the serialized script value. | 40 string16 data_; // The wire string format of the serialized script value. |
42 }; | 41 }; |
43 | 42 |
44 } // namespace content | 43 } // namespace content |
45 | 44 |
46 #endif // CONTENT_PUBLIC_COMMON_SERIALIZED_SCRIPT_VALUE_H_ | 45 #endif // CONTENT_PUBLIC_COMMON_SERIALIZED_SCRIPT_VALUE_H_ |
OLD | NEW |