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

Side by Side Diff: chrome/browser/search/suggestions/suggestions_service.h

Issue 341483007: [Suggestions] Ability to override the timeout parameter via Variations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comment 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/search/suggestions/suggestions_service.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SEARCH_SUGGESTIONS_SUGGESTIONS_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SEARCH_SUGGESTIONS_SUGGESTIONS_SERVICE_H_
6 #define CHROME_BROWSER_SEARCH_SUGGESTIONS_SUGGESTIONS_SERVICE_H_ 6 #define CHROME_BROWSER_SEARCH_SUGGESTIONS_SUGGESTIONS_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 std::vector<ResponseCallback> waiting_requestors_; 124 std::vector<ResponseCallback> waiting_requestors_;
125 125
126 // Used to obtain server thumbnails, if available. 126 // Used to obtain server thumbnails, if available.
127 scoped_ptr<ThumbnailManager> thumbnail_manager_; 127 scoped_ptr<ThumbnailManager> thumbnail_manager_;
128 128
129 Profile* profile_; 129 Profile* profile_;
130 130
131 // For callbacks may be run after destruction. 131 // For callbacks may be run after destruction.
132 base::WeakPtrFactory<SuggestionsService> weak_ptr_factory_; 132 base::WeakPtrFactory<SuggestionsService> weak_ptr_factory_;
133 133
134 // Timeout (in ms) before serving requestors after a fetch suggestions request
135 // has been issued.
136 int request_timeout_ms_;
137
134 DISALLOW_COPY_AND_ASSIGN(SuggestionsService); 138 DISALLOW_COPY_AND_ASSIGN(SuggestionsService);
135 }; 139 };
136 140
137 } // namespace suggestions 141 } // namespace suggestions
138 142
139 #endif // CHROME_BROWSER_SEARCH_SUGGESTIONS_SUGGESTIONS_SERVICE_H_ 143 #endif // CHROME_BROWSER_SEARCH_SUGGESTIONS_SUGGESTIONS_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/search/suggestions/suggestions_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698