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

Side by Side Diff: chrome/browser/ui/app_list/chrome_signin_delegate.cc

Issue 17167006: move sync_promo_ui to non-webui-specific directory (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed include guard on moved file Created 7 years, 6 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
OLDNEW
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/chrome_signin_delegate.h" 5 #include "chrome/browser/ui/app_list/chrome_signin_delegate.h"
6 6
7 #include "chrome/browser/extensions/extension_service.h" 7 #include "chrome/browser/extensions/extension_service.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/signin/signin_manager.h" 9 #include "chrome/browser/signin/signin_manager.h"
10 #include "chrome/browser/signin/signin_manager_factory.h" 10 #include "chrome/browser/signin/signin_manager_factory.h"
11 #include "chrome/browser/ui/browser_finder.h" 11 #include "chrome/browser/ui/browser_finder.h"
12 #include "chrome/browser/ui/browser_navigator.h" 12 #include "chrome/browser/ui/browser_navigator.h"
13 #include "chrome/browser/ui/chrome_pages.h" 13 #include "chrome/browser/ui/chrome_pages.h"
14 #include "chrome/browser/ui/extensions/application_launch.h" 14 #include "chrome/browser/ui/extensions/application_launch.h"
15 #include "chrome/browser/ui/host_desktop.h" 15 #include "chrome/browser/ui/host_desktop.h"
16 #include "chrome/browser/ui/webui/sync_promo/sync_promo_ui.h" 16 #include "chrome/browser/ui/sync/sync_promo_ui.h"
17 #include "chrome/common/extensions/extension_constants.h" 17 #include "chrome/common/extensions/extension_constants.h"
18 #include "content/public/common/page_transition_types.h" 18 #include "content/public/common/page_transition_types.h"
19 #include "grit/chromium_strings.h" 19 #include "grit/chromium_strings.h"
20 #include "grit/generated_resources.h" 20 #include "grit/generated_resources.h"
21 #include "ui/app_list/signin_delegate_observer.h" 21 #include "ui/app_list/signin_delegate_observer.h"
22 #include "ui/base/resource/resource_bundle.h" 22 #include "ui/base/resource/resource_bundle.h"
23 23
24 namespace { 24 namespace {
25 25
26 SigninManagerBase* GetSigninManager(Profile* profile) { 26 SigninManagerBase* GetSigninManager(Profile* profile) {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 return rb.GetLocalizedString(IDS_APP_LIST_SIGNIN_SETTINGS_TEXT); 100 return rb.GetLocalizedString(IDS_APP_LIST_SIGNIN_SETTINGS_TEXT);
101 } 101 }
102 102
103 ChromeSigninDelegate::~ChromeSigninDelegate() {} 103 ChromeSigninDelegate::~ChromeSigninDelegate() {}
104 104
105 void ChromeSigninDelegate::SigninFailed(const GoogleServiceAuthError& error) {} 105 void ChromeSigninDelegate::SigninFailed(const GoogleServiceAuthError& error) {}
106 106
107 void ChromeSigninDelegate::SigninSuccess() { 107 void ChromeSigninDelegate::SigninSuccess() {
108 NotifySigninSuccess(); 108 NotifySigninSuccess();
109 } 109 }
OLDNEW
« no previous file with comments | « chrome/browser/signin/signin_browsertest.cc ('k') | chrome/browser/ui/auto_login_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698