OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_RENDERER_NAVIGATION_STATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_NAVIGATION_STATE_IMPL_H_ |
6 #define CONTENT_RENDERER_NAVIGATION_STATE_IMPL_H_ | 6 #define CONTENT_RENDERER_NAVIGATION_STATE_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "content/common/navigation_params.h" | 11 #include "content/common/navigation_params.h" |
11 #include "content/public/renderer/navigation_state.h" | 12 #include "content/public/renderer/navigation_state.h" |
12 | 13 |
13 namespace content { | 14 namespace content { |
14 | 15 |
15 class CONTENT_EXPORT NavigationStateImpl : public NavigationState { | 16 class CONTENT_EXPORT NavigationStateImpl : public NavigationState { |
16 public: | 17 public: |
17 ~NavigationStateImpl() override; | 18 ~NavigationStateImpl() override; |
18 | 19 |
19 static NavigationStateImpl* CreateBrowserInitiated( | 20 static NavigationStateImpl* CreateBrowserInitiated( |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 // FrameLoader has committedFirstRealDocumentLoad as a replacement. (Added for | 69 // FrameLoader has committedFirstRealDocumentLoad as a replacement. (Added for |
69 // http://crbug.com/178380). | 70 // http://crbug.com/178380). |
70 const RequestNavigationParams request_params_; | 71 const RequestNavigationParams request_params_; |
71 | 72 |
72 DISALLOW_COPY_AND_ASSIGN(NavigationStateImpl); | 73 DISALLOW_COPY_AND_ASSIGN(NavigationStateImpl); |
73 }; | 74 }; |
74 | 75 |
75 } // namespace content | 76 } // namespace content |
76 | 77 |
77 #endif // CONTENT_RENDERER_NAVIGATION_STATE_IMPL_H_ | 78 #endif // CONTENT_RENDERER_NAVIGATION_STATE_IMPL_H_ |
OLD | NEW |