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 CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ |
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ | 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted_memory.h" | 10 #include "base/memory/ref_counted_memory.h" |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "base/time.h" | 12 #include "base/time/time.h" |
13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
14 #include "content/public/common/page_transition_types.h" | 14 #include "content/public/common/page_transition_types.h" |
15 #include "content/public/common/page_type.h" | 15 #include "content/public/common/page_type.h" |
16 #include "content/public/common/referrer.h" | 16 #include "content/public/common/referrer.h" |
17 | 17 |
18 class GURL; | 18 class GURL; |
19 | 19 |
20 namespace content { | 20 namespace content { |
21 | 21 |
22 class PageState; | 22 class PageState; |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 virtual void SetExtraData(const std::string& key, const string16& data) = 0; | 196 virtual void SetExtraData(const std::string& key, const string16& data) = 0; |
197 // If present, fills the |data| present at the specified |key|. | 197 // If present, fills the |data| present at the specified |key|. |
198 virtual bool GetExtraData(const std::string& key, string16* data) const = 0; | 198 virtual bool GetExtraData(const std::string& key, string16* data) const = 0; |
199 // Removes the data at the specified |key|. | 199 // Removes the data at the specified |key|. |
200 virtual void ClearExtraData(const std::string& key) = 0; | 200 virtual void ClearExtraData(const std::string& key) = 0; |
201 }; | 201 }; |
202 | 202 |
203 } // namespace content | 203 } // namespace content |
204 | 204 |
205 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ | 205 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ |
OLD | NEW |