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

Side by Side Diff: chrome/browser/signin/signin_global_error.cc

Issue 469993006: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/signin/signin_global_error.h" 5 #include "chrome/browser/signin/signin_global_error.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/app/chrome_command_ids.h" 8 #include "chrome/app/chrome_command_ids.h"
9 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/signin/signin_header_helper.h" 10 #include "chrome/browser/signin/signin_header_helper.h"
11 #include "chrome/browser/signin/signin_manager_factory.h" 11 #include "chrome/browser/signin/signin_manager_factory.h"
12 #include "chrome/browser/signin/signin_promo.h" 12 #include "chrome/browser/signin/signin_promo.h"
13 #include "chrome/browser/ui/browser_commands.h" 13 #include "chrome/browser/ui/browser_commands.h"
14 #include "chrome/browser/ui/browser_window.h" 14 #include "chrome/browser/ui/browser_window.h"
15 #include "chrome/browser/ui/chrome_pages.h" 15 #include "chrome/browser/ui/chrome_pages.h"
16 #include "chrome/browser/ui/global_error/global_error_service.h" 16 #include "chrome/browser/ui/global_error/global_error_service.h"
17 #include "chrome/browser/ui/global_error/global_error_service_factory.h" 17 #include "chrome/browser/ui/global_error/global_error_service_factory.h"
18 #include "chrome/browser/ui/singleton_tabs.h" 18 #include "chrome/browser/ui/singleton_tabs.h"
19 #include "chrome/browser/ui/webui/signin/login_ui_service.h" 19 #include "chrome/browser/ui/webui/signin/login_ui_service.h"
20 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" 20 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h"
21 #include "chrome/common/url_constants.h" 21 #include "chrome/common/url_constants.h"
22 #include "chrome/grit/chromium_strings.h"
23 #include "chrome/grit/generated_resources.h"
22 #include "components/signin/core/browser/signin_manager.h" 24 #include "components/signin/core/browser/signin_manager.h"
23 #include "components/signin/core/common/profile_management_switches.h" 25 #include "components/signin/core/common/profile_management_switches.h"
24 #include "grit/chromium_strings.h"
25 #include "grit/generated_resources.h"
26 #include "net/base/url_util.h" 26 #include "net/base/url_util.h"
27 #include "ui/base/l10n/l10n_util.h" 27 #include "ui/base/l10n/l10n_util.h"
28 28
29 SigninGlobalError::SigninGlobalError( 29 SigninGlobalError::SigninGlobalError(
30 SigninErrorController* error_controller, 30 SigninErrorController* error_controller,
31 Profile* profile) 31 Profile* profile)
32 : profile_(profile), 32 : profile_(profile),
33 error_controller_(error_controller), 33 error_controller_(error_controller),
34 is_added_to_global_error_service_(false) { 34 is_added_to_global_error_service_(false) {
35 error_controller_->AddObserver(this); 35 error_controller_->AddObserver(this);
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 ExecuteMenuItem(browser); 182 ExecuteMenuItem(browser);
183 } 183 }
184 184
185 void SigninGlobalError::BubbleViewCancelButtonPressed(Browser* browser) { 185 void SigninGlobalError::BubbleViewCancelButtonPressed(Browser* browser) {
186 NOTREACHED(); 186 NOTREACHED();
187 } 187 }
188 188
189 void SigninGlobalError::OnErrorChanged() { 189 void SigninGlobalError::OnErrorChanged() {
190 GlobalErrorServiceFactory::GetForProfile(profile_)->NotifyErrorsChanged(this); 190 GlobalErrorServiceFactory::GetForProfile(profile_)->NotifyErrorsChanged(this);
191 } 191 }
OLDNEW
« no previous file with comments | « chrome/browser/signin/signin_error_notifier_ash.cc ('k') | chrome/browser/signin/signin_ui_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698