Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: chrome/browser/ui/search/search_tab_helper.h

Issue 864223006: [Search] Identity check for New Tab Page should use canonicalized form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/search/search_tab_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, 107 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest,
108 DetermineIfPageSupportsInstant_Local); 108 DetermineIfPageSupportsInstant_Local);
109 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, 109 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest,
110 DetermineIfPageSupportsInstant_NonLocal); 110 DetermineIfPageSupportsInstant_NonLocal);
111 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, 111 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest,
112 PageURLDoesntBelongToInstantRenderer); 112 PageURLDoesntBelongToInstantRenderer);
113 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, 113 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest,
114 OnChromeIdentityCheckMatch); 114 OnChromeIdentityCheckMatch);
115 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, 115 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest,
116 OnChromeIdentityCheckMismatch); 116 OnChromeIdentityCheckMatchSlightlyDifferentGmail);
117 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest,
118 OnChromeIdentityCheckMatchSlightlyDifferentGmail2);
119 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, OnChromeIdentityCheckMismatch);
117 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, 120 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest,
118 OnChromeIdentityCheckSignedOutMatch); 121 OnChromeIdentityCheckSignedOutMatch);
119 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, 122 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest,
120 OnChromeIdentityCheckSignedOutMismatch); 123 OnChromeIdentityCheckSignedOutMismatch);
121 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, 124 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest,
122 OnHistorySyncCheckSyncInactive); 125 OnHistorySyncCheckSyncInactive);
123 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, 126 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest,
124 OnHistorySyncCheckSyncing); 127 OnHistorySyncCheckSyncing);
125 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest, 128 FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest,
126 OnHistorySyncCheckNotSyncing); 129 OnHistorySyncCheckNotSyncing);
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 SearchTabHelperDelegate* delegate_; 241 SearchTabHelperDelegate* delegate_;
239 242
240 // Function to check if the omnibox has focus. Tests use this to modify the 243 // Function to check if the omnibox has focus. Tests use this to modify the
241 // default behavior. 244 // default behavior.
242 OmniboxHasFocusFn omnibox_has_focus_fn_; 245 OmniboxHasFocusFn omnibox_has_focus_fn_;
243 246
244 DISALLOW_COPY_AND_ASSIGN(SearchTabHelper); 247 DISALLOW_COPY_AND_ASSIGN(SearchTabHelper);
245 }; 248 };
246 249
247 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ 250 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/search/search_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698