| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/webstore_private/webstore_private_api.h" | 5 #include "chrome/browser/extensions/api/webstore_private/webstore_private_api.h" |
| 6 | 6 |
| 7 #include "base/bind_helpers.h" | 7 #include "base/bind_helpers.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
| 10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "content/public/browser/web_contents.h" | 44 #include "content/public/browser/web_contents.h" |
| 45 #include "content/public/common/page_transition_types.h" | 45 #include "content/public/common/page_transition_types.h" |
| 46 #include "content/public/common/referrer.h" | 46 #include "content/public/common/referrer.h" |
| 47 #include "extensions/browser/extension_function_dispatcher.h" | 47 #include "extensions/browser/extension_function_dispatcher.h" |
| 48 #include "extensions/browser/extension_prefs.h" | 48 #include "extensions/browser/extension_prefs.h" |
| 49 #include "extensions/browser/extension_registry.h" | 49 #include "extensions/browser/extension_registry.h" |
| 50 #include "extensions/browser/extension_system.h" | 50 #include "extensions/browser/extension_system.h" |
| 51 #include "extensions/browser/extension_util.h" | 51 #include "extensions/browser/extension_util.h" |
| 52 #include "extensions/common/error_utils.h" | 52 #include "extensions/common/error_utils.h" |
| 53 #include "extensions/common/extension.h" | 53 #include "extensions/common/extension.h" |
| 54 #include "extensions/common/extension_l10n_util.h" | |
| 55 #include "google_apis/gaia/google_service_auth_error.h" | 54 #include "google_apis/gaia/google_service_auth_error.h" |
| 56 #include "grit/chromium_strings.h" | |
| 57 #include "grit/generated_resources.h" | |
| 58 #include "ui/base/l10n/l10n_util.h" | 55 #include "ui/base/l10n/l10n_util.h" |
| 59 #include "url/gurl.h" | 56 #include "url/gurl.h" |
| 60 | 57 |
| 61 using content::GpuDataManager; | 58 using content::GpuDataManager; |
| 62 | 59 |
| 63 namespace extensions { | 60 namespace extensions { |
| 64 | 61 |
| 65 namespace BeginInstallWithManifest3 = | 62 namespace BeginInstallWithManifest3 = |
| 66 api::webstore_private::BeginInstallWithManifest3; | 63 api::webstore_private::BeginInstallWithManifest3; |
| 67 namespace GetEphemeralAppsEnabled = | 64 namespace GetEphemeralAppsEnabled = |
| (...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 904 WebstorePrivateGetEphemeralAppsEnabledFunction:: | 901 WebstorePrivateGetEphemeralAppsEnabledFunction:: |
| 905 ~WebstorePrivateGetEphemeralAppsEnabledFunction() {} | 902 ~WebstorePrivateGetEphemeralAppsEnabledFunction() {} |
| 906 | 903 |
| 907 bool WebstorePrivateGetEphemeralAppsEnabledFunction::RunSync() { | 904 bool WebstorePrivateGetEphemeralAppsEnabledFunction::RunSync() { |
| 908 results_ = GetEphemeralAppsEnabled::Results::Create( | 905 results_ = GetEphemeralAppsEnabled::Results::Create( |
| 909 EphemeralAppLauncher::IsFeatureEnabled()); | 906 EphemeralAppLauncher::IsFeatureEnabled()); |
| 910 return true; | 907 return true; |
| 911 } | 908 } |
| 912 | 909 |
| 913 } // namespace extensions | 910 } // namespace extensions |
| OLD | NEW |