Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: chrome/browser/extensions/api/webstore_private/webstore_private_api.cc

Issue 579033002: [Clean-up] Remove some dead code for handling Webstore sign-in. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore incorrectly deleted code Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 20 matching lines...) Expand all
31 #include "chrome/browser/ui/app_list/app_list_service.h" 31 #include "chrome/browser/ui/app_list/app_list_service.h"
32 #include "chrome/browser/ui/app_list/app_list_util.h" 32 #include "chrome/browser/ui/app_list/app_list_util.h"
33 #include "chrome/browser/ui/browser.h" 33 #include "chrome/browser/ui/browser.h"
34 #include "chrome/common/extensions/extension_constants.h" 34 #include "chrome/common/extensions/extension_constants.h"
35 #include "chrome/common/pref_names.h" 35 #include "chrome/common/pref_names.h"
36 #include "components/crx_file/id_util.h" 36 #include "components/crx_file/id_util.h"
37 #include "content/public/browser/gpu_data_manager.h" 37 #include "content/public/browser/gpu_data_manager.h"
38 #include "content/public/browser/notification_details.h" 38 #include "content/public/browser/notification_details.h"
39 #include "content/public/browser/notification_source.h" 39 #include "content/public/browser/notification_source.h"
40 #include "content/public/browser/web_contents.h" 40 #include "content/public/browser/web_contents.h"
41 #include "content/public/common/referrer.h"
42 #include "extensions/browser/extension_function_dispatcher.h" 41 #include "extensions/browser/extension_function_dispatcher.h"
43 #include "extensions/browser/extension_prefs.h" 42 #include "extensions/browser/extension_prefs.h"
44 #include "extensions/browser/extension_registry.h" 43 #include "extensions/browser/extension_registry.h"
45 #include "extensions/browser/extension_system.h" 44 #include "extensions/browser/extension_system.h"
46 #include "extensions/browser/extension_util.h" 45 #include "extensions/browser/extension_util.h"
47 #include "extensions/common/error_utils.h" 46 #include "extensions/common/error_utils.h"
48 #include "extensions/common/extension.h" 47 #include "extensions/common/extension.h"
49 #include "google_apis/gaia/google_service_auth_error.h"
50 #include "ui/base/l10n/l10n_util.h" 48 #include "ui/base/l10n/l10n_util.h"
51 #include "url/gurl.h"
52 49
53 using content::GpuDataManager; 50 using content::GpuDataManager;
54 51
55 namespace extensions { 52 namespace extensions {
56 53
57 namespace BeginInstallWithManifest3 = 54 namespace BeginInstallWithManifest3 =
58 api::webstore_private::BeginInstallWithManifest3; 55 api::webstore_private::BeginInstallWithManifest3;
59 namespace GetEphemeralAppsEnabled = 56 namespace GetEphemeralAppsEnabled =
60 api::webstore_private::GetEphemeralAppsEnabled; 57 api::webstore_private::GetEphemeralAppsEnabled;
61 namespace CompleteInstall = api::webstore_private::CompleteInstall; 58 namespace CompleteInstall = api::webstore_private::CompleteInstall;
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 WebstorePrivateGetEphemeralAppsEnabledFunction:: 752 WebstorePrivateGetEphemeralAppsEnabledFunction::
756 ~WebstorePrivateGetEphemeralAppsEnabledFunction() {} 753 ~WebstorePrivateGetEphemeralAppsEnabledFunction() {}
757 754
758 bool WebstorePrivateGetEphemeralAppsEnabledFunction::RunSync() { 755 bool WebstorePrivateGetEphemeralAppsEnabledFunction::RunSync() {
759 results_ = GetEphemeralAppsEnabled::Results::Create( 756 results_ = GetEphemeralAppsEnabled::Results::Create(
760 EphemeralAppLauncher::IsFeatureEnabled()); 757 EphemeralAppLauncher::IsFeatureEnabled());
761 return true; 758 return true;
762 } 759 }
763 760
764 } // namespace extensions 761 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698