| 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> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | |
| 12 | 11 |
| 13 #include "base/callback.h" | 12 #include "base/callback.h" |
| 14 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 15 #include "base/macros.h" | 14 #include "base/macros.h" |
| 16 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 17 #include "base/values.h" | 16 #include "base/values.h" |
| 18 #include "chrome/browser/android/contextualsearch/contextual_search_context.h" | 17 #include "chrome/browser/android/contextualsearch/contextual_search_context.h" |
| 19 #include "chrome/browser/android/contextualsearch/resolved_search_term.h" | 18 #include "chrome/browser/android/contextualsearch/resolved_search_term.h" |
| 20 #include "content/public/browser/android/content_view_core.h" | 19 #include "content/public/browser/android/content_view_core.h" |
| 21 #include "net/url_request/url_fetcher_delegate.h" | 20 #include "net/url_request/url_fetcher_delegate.h" |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 // The callback for notifications of Icing selection being available. | 240 // The callback for notifications of Icing selection being available. |
| 242 IcingCallback icing_callback_; | 241 IcingCallback icing_callback_; |
| 243 | 242 |
| 244 // Used to hold the context until an upcoming search term request is started. | 243 // Used to hold the context until an upcoming search term request is started. |
| 245 std::unique_ptr<ContextualSearchContext> context_; | 244 std::unique_ptr<ContextualSearchContext> context_; |
| 246 | 245 |
| 247 DISALLOW_COPY_AND_ASSIGN(ContextualSearchDelegate); | 246 DISALLOW_COPY_AND_ASSIGN(ContextualSearchDelegate); |
| 248 }; | 247 }; |
| 249 | 248 |
| 250 #endif // CHROME_BROWSER_ANDROID_CONTEXTUALSEARCH_CONTEXTUAL_SEARCH_DELEGATE_H_ | 249 #endif // CHROME_BROWSER_ANDROID_CONTEXTUALSEARCH_CONTEXTUAL_SEARCH_DELEGATE_H_ |
| OLD | NEW |