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_BROWSER_TAB_CONTENTS_TEST_WEB_CONTENTS_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_TEST_WEB_CONTENTS_H_ |
6 #define CONTENT_BROWSER_TAB_CONTENTS_TEST_WEB_CONTENTS_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_TEST_WEB_CONTENTS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "content/browser/tab_contents/tab_contents.h" | 9 #include "content/browser/tab_contents/tab_contents.h" |
10 #include "content/public/common/page_transition_types.h" | 10 #include "content/public/common/page_transition_types.h" |
11 #include "content/test/web_contents_tester.h" | 11 #include "content/test/web_contents_tester.h" |
12 #include "webkit/glue/webpreferences.h" | 12 #include "webkit/glue/webpreferences.h" |
13 | 13 |
14 class SiteInstanceImpl; | 14 class SiteInstanceImpl; |
15 | 15 |
16 namespace content { | 16 namespace content { |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 // Expectations for arguments of |SetHistoryLengthAndPrune()|. | 91 // Expectations for arguments of |SetHistoryLengthAndPrune()|. |
92 bool expect_set_history_length_and_prune_; | 92 bool expect_set_history_length_and_prune_; |
93 scoped_refptr<const SiteInstanceImpl> | 93 scoped_refptr<const SiteInstanceImpl> |
94 expect_set_history_length_and_prune_site_instance_; | 94 expect_set_history_length_and_prune_site_instance_; |
95 int expect_set_history_length_and_prune_history_length_; | 95 int expect_set_history_length_and_prune_history_length_; |
96 int32 expect_set_history_length_and_prune_min_page_id_; | 96 int32 expect_set_history_length_and_prune_min_page_id_; |
97 }; | 97 }; |
98 | 98 |
99 } // namespace content | 99 } // namespace content |
100 | 100 |
101 #endif // CONTENT_BROWSER_TAB_CONTENTS_TEST_WEB_CONTENTS_H_ | 101 #endif // CONTENT_BROWSER_WEB_CONTENTS_TEST_WEB_CONTENTS_H_ |
OLD | NEW |