OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WEBHISTORYITEM_IMPL_H__ | 5 #ifndef WEBKIT_GLUE_WEBHISTORYITEM_IMPL_H_ |
6 #define WEBKIT_GLUE_WEBHISTORYITEM_IMPL_H__ | 6 #define WEBKIT_GLUE_WEBHISTORYITEM_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "webkit/glue/webhistoryitem.h" | 8 #include "webkit/glue/webhistoryitem.h" |
10 #include "googleurl/src/gurl.h" | 9 #include "googleurl/src/gurl.h" |
11 | 10 |
12 #include "RefPtr.h" | 11 #include "RefPtr.h" |
13 | 12 |
14 namespace WebCore { | 13 namespace WebCore { |
15 class HistoryItem; | 14 class HistoryItem; |
16 } | 15 } |
17 | 16 |
18 class WebHistoryItemImpl : public WebHistoryItem { | 17 class WebHistoryItemImpl : public WebHistoryItem { |
(...skipping 16 matching lines...) Expand all Loading... |
35 WebCore::HistoryItem* GetHistoryItem() const; | 34 WebCore::HistoryItem* GetHistoryItem() const; |
36 | 35 |
37 protected: | 36 protected: |
38 GURL url_; | 37 GURL url_; |
39 std::wstring title_; | 38 std::wstring title_; |
40 std::string history_state_; | 39 std::string history_state_; |
41 mutable RefPtr<WebCore::HistoryItem> history_item_; | 40 mutable RefPtr<WebCore::HistoryItem> history_item_; |
42 scoped_refptr<WebRequest::ExtraData> extra_data_; | 41 scoped_refptr<WebRequest::ExtraData> extra_data_; |
43 | 42 |
44 private: | 43 private: |
45 DISALLOW_EVIL_CONSTRUCTORS(WebHistoryItemImpl); | 44 DISALLOW_COPY_AND_ASSIGN(WebHistoryItemImpl); |
46 }; | 45 }; |
47 | 46 |
48 #endif // #ifndef WEBKIT_GLUE_WEBHISTORYITEM_IMPL_H__ | 47 #endif // #ifndef WEBKIT_GLUE_WEBHISTORYITEM_IMPL_H_ |
49 | |
OLD | NEW |