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 #include "chrome/browser/extensions/api/dashboard_private/dashboard_private_api.
h" | 5 #include "chrome/browser/extensions/api/dashboard_private/dashboard_private_api.
h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
11 #include "chrome/browser/bitmap_fetcher/bitmap_fetcher.h" | 11 #include "chrome/browser/bitmap_fetcher/bitmap_fetcher.h" |
12 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
13 #include "components/crx_file/id_util.h" | 13 #include "components/crx_file/id_util.h" |
14 #include "content/public/browser/storage_partition.h" | 14 #include "content/public/browser/storage_partition.h" |
15 #include "extensions/common/extension.h" | 15 #include "extensions/common/extension.h" |
16 #include "net/base/load_flags.h" | 16 #include "net/base/load_flags.h" |
17 #include "net/url_request/url_request.h" | 17 #include "net/url_request/url_request.h" |
18 #include "url/gurl.h" | 18 #include "url/gurl.h" |
19 | 19 |
20 namespace extensions { | 20 namespace extensions { |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 } | 184 } |
185 | 185 |
186 std::unique_ptr<base::ListValue> | 186 std::unique_ptr<base::ListValue> |
187 DashboardPrivateShowPermissionPromptForDelegatedInstallFunction::CreateResults( | 187 DashboardPrivateShowPermissionPromptForDelegatedInstallFunction::CreateResults( |
188 api::dashboard_private::Result result) const { | 188 api::dashboard_private::Result result) const { |
189 return ShowPermissionPromptForDelegatedInstall::Results::Create(result); | 189 return ShowPermissionPromptForDelegatedInstall::Results::Create(result); |
190 } | 190 } |
191 | 191 |
192 } // namespace extensions | 192 } // namespace extensions |
193 | 193 |
OLD | NEW |