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 <string> | 5 #include <string> |
6 | 6 |
| 7 #include "build/build_config.h" |
7 #include "chrome/browser/browser_process.h" | 8 #include "chrome/browser/browser_process.h" |
8 #include "chrome/browser/extensions/api/feedback_private/feedback_private_api.h" | 9 #include "chrome/browser/extensions/api/feedback_private/feedback_private_api.h" |
9 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
10 #include "chrome/browser/profiles/profile_manager.h" | 11 #include "chrome/browser/profiles/profile_manager.h" |
11 #include "chrome/browser/ui/ash/multi_user/multi_user_util.h" | 12 #include "chrome/browser/ui/ash/multi_user/multi_user_util.h" |
12 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager.h" | 13 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager.h" |
13 #include "chrome/browser/ui/browser_finder.h" | 14 #include "chrome/browser/ui/browser_finder.h" |
14 #include "chrome/browser/ui/browser_window.h" | 15 #include "chrome/browser/ui/browser_window.h" |
15 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 16 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
16 #include "components/signin/core/account_id/account_id.h" | 17 #include "components/signin/core/account_id/account_id.h" |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 80 |
80 extensions::FeedbackPrivateAPI* api = | 81 extensions::FeedbackPrivateAPI* api = |
81 extensions::FeedbackPrivateAPI::GetFactoryInstance()->Get(profile); | 82 extensions::FeedbackPrivateAPI::GetFactoryInstance()->Get(profile); |
82 | 83 |
83 api->RequestFeedback(description_template, | 84 api->RequestFeedback(description_template, |
84 category_tag, | 85 category_tag, |
85 page_url); | 86 page_url); |
86 } | 87 } |
87 | 88 |
88 } // namespace chrome | 89 } // namespace chrome |
OLD | NEW |