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 CHROME_RENDERER_NAVIGATION_STATE_H_ | 5 #ifndef CHROME_RENDERER_NAVIGATION_STATE_H_ |
6 #define CHROME_RENDERER_NAVIGATION_STATE_H_ | 6 #define CHROME_RENDERER_NAVIGATION_STATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/time.h" | 13 #include "base/time.h" |
14 #include "chrome/common/extensions/url_pattern.h" | |
15 #include "content/common/page_transition_types.h" | 14 #include "content/common/page_transition_types.h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h" |
18 | 17 |
19 namespace webkit_glue { | 18 namespace webkit_glue { |
20 struct PasswordForm; | 19 struct PasswordForm; |
21 class AltErrorPageResourceFetcher; | 20 class AltErrorPageResourceFetcher; |
22 } | 21 } |
23 | 22 |
24 // The RenderView stores an instance of this class in the "extra data" of each | 23 // The RenderView stores an instance of this class in the "extra data" of each |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 bool was_within_same_page_; | 331 bool was_within_same_page_; |
333 | 332 |
334 // A prefetcher is a page that contains link rel=prefetch elements. | 333 // A prefetcher is a page that contains link rel=prefetch elements. |
335 bool was_prefetcher_; | 334 bool was_prefetcher_; |
336 bool was_referred_by_prefetcher_; | 335 bool was_referred_by_prefetcher_; |
337 | 336 |
338 DISALLOW_COPY_AND_ASSIGN(NavigationState); | 337 DISALLOW_COPY_AND_ASSIGN(NavigationState); |
339 }; | 338 }; |
340 | 339 |
341 #endif // CHROME_RENDERER_NAVIGATION_STATE_H_ | 340 #endif // CHROME_RENDERER_NAVIGATION_STATE_H_ |
OLD | NEW |