| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_UI_SEARCH_SEARCH_TAB_HELPER_H_ | 5 #ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ |
| 6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ | 6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, | 108 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, |
| 109 PageURLDoesntBelongToInstantRenderer); | 109 PageURLDoesntBelongToInstantRenderer); |
| 110 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, | 110 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, |
| 111 OnChromeIdentityCheckMatch); | 111 OnChromeIdentityCheckMatch); |
| 112 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, | 112 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, |
| 113 OnChromeIdentityCheckMismatch); | 113 OnChromeIdentityCheckMismatch); |
| 114 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, | 114 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, |
| 115 OnChromeIdentityCheckSignedOutMatch); | 115 OnChromeIdentityCheckSignedOutMatch); |
| 116 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, | 116 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, |
| 117 OnChromeIdentityCheckSignedOutMismatch); | 117 OnChromeIdentityCheckSignedOutMismatch); |
| 118 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, |
| 119 OnChromeIdentityCheckMatchNotSyncing); |
| 118 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperWindowTest, | 120 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperWindowTest, |
| 119 OnProvisionalLoadFailRedirectNTPToLocal); | 121 OnProvisionalLoadFailRedirectNTPToLocal); |
| 120 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperWindowTest, | 122 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperWindowTest, |
| 121 OnProvisionalLoadFailDontRedirectIfAborted); | 123 OnProvisionalLoadFailDontRedirectIfAborted); |
| 122 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperWindowTest, | 124 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperWindowTest, |
| 123 OnProvisionalLoadFailDontRedirectNonNTP); | 125 OnProvisionalLoadFailDontRedirectNonNTP); |
| 124 FRIEND_TEST_ALL_PREFIXES(SearchIPCRouterTest, | 126 FRIEND_TEST_ALL_PREFIXES(SearchIPCRouterTest, |
| 125 IgnoreMessageIfThePageIsNotActive); | 127 IgnoreMessageIfThePageIsNotActive); |
| 126 FRIEND_TEST_ALL_PREFIXES(SearchIPCRouterTest, | 128 FRIEND_TEST_ALL_PREFIXES(SearchIPCRouterTest, |
| 127 DoNotSendSetDisplayInstantResultsMsg); | 129 DoNotSendSetDisplayInstantResultsMsg); |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 | 233 |
| 232 // Delegate for notifying our owner about the SearchTabHelper state. Not owned | 234 // Delegate for notifying our owner about the SearchTabHelper state. Not owned |
| 233 // by us. | 235 // by us. |
| 234 // NULL on iOS and Android because they don't use the Instant framework. | 236 // NULL on iOS and Android because they don't use the Instant framework. |
| 235 SearchTabHelperDelegate* delegate_; | 237 SearchTabHelperDelegate* delegate_; |
| 236 | 238 |
| 237 DISALLOW_COPY_AND_ASSIGN(SearchTabHelper); | 239 DISALLOW_COPY_AND_ASSIGN(SearchTabHelper); |
| 238 }; | 240 }; |
| 239 | 241 |
| 240 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ | 242 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ |
| OLD | NEW |