| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/ui/app_list/search/people/people_result.h" | 5 #include "chrome/browser/ui/app_list/search/people/people_result.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
| 12 #include "chrome/browser/extensions/extension_system.h" | |
| 13 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
| 14 #include "chrome/browser/signin/profile_oauth2_token_service.h" | 13 #include "chrome/browser/signin/profile_oauth2_token_service.h" |
| 15 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" | 14 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" |
| 16 #include "chrome/browser/signin/signin_manager.h" | 15 #include "chrome/browser/signin/signin_manager.h" |
| 17 #include "chrome/browser/signin/signin_manager_factory.h" | 16 #include "chrome/browser/signin/signin_manager_factory.h" |
| 18 #include "chrome/browser/ui/app_list/search/common/url_icon_source.h" | 17 #include "chrome/browser/ui/app_list/search/common/url_icon_source.h" |
| 19 #include "chrome/browser/ui/app_list/search/people/person.h" | 18 #include "chrome/browser/ui/app_list/search/people/person.h" |
| 20 #include "chrome/browser/ui/browser_navigator.h" | 19 #include "chrome/browser/ui/browser_navigator.h" |
| 21 #include "chrome/common/extensions/api/hangouts_private.h" | 20 #include "chrome/common/extensions/api/hangouts_private.h" |
| 22 #include "content/public/browser/user_metrics.h" | 21 #include "content/public/browser/user_metrics.h" |
| 23 #include "extensions/browser/event_router.h" | 22 #include "extensions/browser/event_router.h" |
| 23 #include "extensions/browser/extension_system.h" |
| 24 #include "grit/generated_resources.h" | 24 #include "grit/generated_resources.h" |
| 25 #include "grit/theme_resources.h" | 25 #include "grit/theme_resources.h" |
| 26 #include "ui/base/l10n/l10n_util.h" | 26 #include "ui/base/l10n/l10n_util.h" |
| 27 #include "ui/base/resource/resource_bundle.h" | 27 #include "ui/base/resource/resource_bundle.h" |
| 28 | 28 |
| 29 namespace OnHangoutRequested = | 29 namespace OnHangoutRequested = |
| 30 extensions::api::hangouts_private::OnHangoutRequested; | 30 extensions::api::hangouts_private::OnHangoutRequested; |
| 31 | 31 |
| 32 using extensions::api::hangouts_private::User; | 32 using extensions::api::hangouts_private::User; |
| 33 using extensions::api::hangouts_private::HangoutRequest; | 33 using extensions::api::hangouts_private::HangoutRequest; |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 } | 193 } |
| 194 } | 194 } |
| 195 hangouts_extension_id_.clear(); | 195 hangouts_extension_id_.clear(); |
| 196 } | 196 } |
| 197 | 197 |
| 198 ChromeSearchResultType PeopleResult::GetType() { | 198 ChromeSearchResultType PeopleResult::GetType() { |
| 199 return SEARCH_PEOPLE_SEARCH_RESULT; | 199 return SEARCH_PEOPLE_SEARCH_RESULT; |
| 200 } | 200 } |
| 201 | 201 |
| 202 } // namespace app_list | 202 } // namespace app_list |
| OLD | NEW |