| OLD | NEW |
| 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 #include "chrome/browser/autocomplete/keyword_extensions_delegate_impl.h" | 5 #include "chrome/browser/autocomplete/keyword_extensions_delegate_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
| 8 #include "chrome/browser/extensions/api/omnibox/omnibox_api.h" | 10 #include "chrome/browser/extensions/api/omnibox/omnibox_api.h" |
| 9 #include "chrome/browser/extensions/extension_service.h" | 11 #include "chrome/browser/extensions/extension_service.h" |
| 10 #include "chrome/browser/extensions/extension_util.h" | 12 #include "chrome/browser/extensions/extension_util.h" |
| 11 #include "chrome/browser/profiles/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
| 12 #include "content/public/browser/notification_details.h" | 14 #include "content/public/browser/notification_details.h" |
| 13 #include "content/public/browser/notification_source.h" | 15 #include "content/public/browser/notification_source.h" |
| 14 #include "extensions/browser/extension_registry.h" | 16 #include "extensions/browser/extension_registry.h" |
| 15 #include "extensions/browser/notification_types.h" | 17 #include "extensions/browser/notification_types.h" |
| 16 | 18 |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 | 211 |
| 210 default: | 212 default: |
| 211 NOTREACHED(); | 213 NOTREACHED(); |
| 212 return; | 214 return; |
| 213 } | 215 } |
| 214 } | 216 } |
| 215 | 217 |
| 216 void KeywordExtensionsDelegateImpl::OnProviderUpdate(bool updated_matches) { | 218 void KeywordExtensionsDelegateImpl::OnProviderUpdate(bool updated_matches) { |
| 217 provider_->listener_->OnProviderUpdate(updated_matches); | 219 provider_->listener_->OnProviderUpdate(updated_matches); |
| 218 } | 220 } |
| OLD | NEW |