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

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

Issue 336413006: Chrome suggestions are no longer served if the user doesn't sync his history on a given machine (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/search_ipc_router.h ('k') | chrome/browser/ui/search/search_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698