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

Side by Side Diff: chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc

Issue 514493002: Cleanup: Remove unneeded grit include in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@grit_clean_chromium_strings_401588_a
Patch Set: rebase 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
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/ui/webui/signin/profile_signin_confirmation_dialog.h" 5 #include "chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/json/json_writer.h" 8 #include "base/json/json_writer.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/profiles/profile_manager.h" 11 #include "chrome/browser/profiles/profile_manager.h"
12 #include "chrome/browser/ui/browser.h" 12 #include "chrome/browser/ui/browser.h"
13 #include "chrome/browser/ui/browser_dialogs.h" 13 #include "chrome/browser/ui/browser_dialogs.h"
14 #include "chrome/browser/ui/browser_window.h" 14 #include "chrome/browser/ui/browser_window.h"
15 #include "chrome/browser/ui/webui/constrained_web_dialog_ui.h" 15 #include "chrome/browser/ui/webui/constrained_web_dialog_ui.h"
16 #include "chrome/common/url_constants.h" 16 #include "chrome/common/url_constants.h"
17 #include "chrome/grit/chromium_strings.h" 17 #include "chrome/grit/chromium_strings.h"
18 #include "content/public/browser/web_ui.h" 18 #include "content/public/browser/web_ui.h"
19 #include "content/public/browser/web_ui_message_handler.h" 19 #include "content/public/browser/web_ui_message_handler.h"
20 #include "grit/browser_resources.h"
21 #include "ui/base/l10n/l10n_util.h" 20 #include "ui/base/l10n/l10n_util.h"
22 21
23 // ProfileSigninConfirmationHandler -------------------------------------------- 22 // ProfileSigninConfirmationHandler --------------------------------------------
24 23
25 namespace { 24 namespace {
26 25
27 class ProfileSigninConfirmationHandler : public content::WebUIMessageHandler { 26 class ProfileSigninConfirmationHandler : public content::WebUIMessageHandler {
28 public: 27 public:
29 ProfileSigninConfirmationHandler( 28 ProfileSigninConfirmationHandler(
30 const ProfileSigninConfirmationDialog* dialog, 29 const ProfileSigninConfirmationDialog* dialog,
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 void ProfileSigninConfirmationDialog::OnCloseContents( 206 void ProfileSigninConfirmationDialog::OnCloseContents(
208 content::WebContents* source, 207 content::WebContents* source,
209 bool* out_close_dialog) { 208 bool* out_close_dialog) {
210 if (out_close_dialog) 209 if (out_close_dialog)
211 *out_close_dialog = true; 210 *out_close_dialog = true;
212 } 211 }
213 212
214 bool ProfileSigninConfirmationDialog::ShouldShowDialogTitle() const { 213 bool ProfileSigninConfirmationDialog::ShouldShowDialogTitle() const {
215 return true; 214 return true;
216 } 215 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698