OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_ANDROID_CONTEXTUALSEARCH_CONTEXTUAL_SEARCH_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_CONTEXTUALSEARCH_CONTEXTUAL_SEARCH_DELEGATE_H_ |
6 #define CHROME_BROWSER_ANDROID_CONTEXTUALSEARCH_CONTEXTUAL_SEARCH_DELEGATE_H_ | 6 #define CHROME_BROWSER_ANDROID_CONTEXTUALSEARCH_CONTEXTUAL_SEARCH_DELEGATE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/callback.h" | 10 #include "base/callback.h" |
9 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
12 #include "base/values.h" | 15 #include "base/values.h" |
13 #include "chrome/browser/android/contextualsearch/contextual_search_context.h" | 16 #include "chrome/browser/android/contextualsearch/contextual_search_context.h" |
14 #include "chrome/browser/android/contextualsearch/resolved_search_term.h" | 17 #include "chrome/browser/android/contextualsearch/resolved_search_term.h" |
15 #include "content/public/browser/android/content_view_core.h" | 18 #include "content/public/browser/android/content_view_core.h" |
16 #include "net/url_request/url_fetcher_delegate.h" | 19 #include "net/url_request/url_fetcher_delegate.h" |
17 | 20 |
18 namespace net { | 21 namespace net { |
19 class URLRequestContextGetter; | 22 class URLRequestContextGetter; |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 // The callback for notifications of Icing selection being available. | 211 // The callback for notifications of Icing selection being available. |
209 IcingCallback icing_callback_; | 212 IcingCallback icing_callback_; |
210 | 213 |
211 // Used to hold the context until an upcoming search term request is started. | 214 // Used to hold the context until an upcoming search term request is started. |
212 scoped_ptr<ContextualSearchContext> context_; | 215 scoped_ptr<ContextualSearchContext> context_; |
213 | 216 |
214 DISALLOW_COPY_AND_ASSIGN(ContextualSearchDelegate); | 217 DISALLOW_COPY_AND_ASSIGN(ContextualSearchDelegate); |
215 }; | 218 }; |
216 | 219 |
217 #endif // CHROME_BROWSER_ANDROID_CONTEXTUALSEARCH_CONTEXTUAL_SEARCH_DELEGATE_H_ | 220 #endif // CHROME_BROWSER_ANDROID_CONTEXTUALSEARCH_CONTEXTUAL_SEARCH_DELEGATE_H_ |
OLD | NEW |