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 CHROME_BROWSER_HISTORY_HISTORY_TAB_HELPER_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_TAB_HELPER_H_ |
6 #define CHROME_BROWSER_HISTORY_HISTORY_TAB_HELPER_H_ | 6 #define CHROME_BROWSER_HISTORY_HISTORY_TAB_HELPER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
9 #include "base/time/time.h" | 10 #include "base/time/time.h" |
10 #include "content/public/browser/web_contents_observer.h" | 11 #include "content/public/browser/web_contents_observer.h" |
11 #include "content/public/browser/web_contents_user_data.h" | 12 #include "content/public/browser/web_contents_user_data.h" |
12 | 13 |
13 namespace history { | 14 namespace history { |
14 struct HistoryAddPageArgs; | 15 struct HistoryAddPageArgs; |
15 class HistoryService; | 16 class HistoryService; |
16 } | 17 } |
17 | 18 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // Whether we have a (non-empty) title for the current page. | 59 // Whether we have a (non-empty) title for the current page. |
59 // Used to prevent subsequent title updates from affecting history. This | 60 // Used to prevent subsequent title updates from affecting history. This |
60 // prevents some weirdness because some AJAXy apps use titles for status | 61 // prevents some weirdness because some AJAXy apps use titles for status |
61 // messages. | 62 // messages. |
62 bool received_page_title_; | 63 bool received_page_title_; |
63 | 64 |
64 DISALLOW_COPY_AND_ASSIGN(HistoryTabHelper); | 65 DISALLOW_COPY_AND_ASSIGN(HistoryTabHelper); |
65 }; | 66 }; |
66 | 67 |
67 #endif // CHROME_BROWSER_HISTORY_HISTORY_TAB_HELPER_H_ | 68 #endif // CHROME_BROWSER_HISTORY_HISTORY_TAB_HELPER_H_ |
OLD | NEW |