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

Side by Side Diff: chrome/browser/ui/sync/inline_login_dialog.cc

Issue 1053663003: Cleanup: Remove unused variables in chrome/ found by Scythe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/sync/inline_login_dialog.h" 5 #include "chrome/browser/ui/sync/inline_login_dialog.h"
6 6
7 #include "chrome/browser/profiles/profile.h" 7 #include "chrome/browser/profiles/profile.h"
8 #include "chrome/browser/ui/browser_dialogs.h" 8 #include "chrome/browser/ui/browser_dialogs.h"
9 #include "chrome/common/url_constants.h" 9 #include "chrome/common/url_constants.h"
10 #include "ui/gfx/geometry/size.h" 10 #include "ui/gfx/geometry/size.h"
11 #include "url/gurl.h" 11 #include "url/gurl.h"
12 12
13 // static 13 // static
14 void InlineLoginDialog::Show(Profile* profile) { 14 void InlineLoginDialog::Show(Profile* profile) {
15 chrome::ShowWebDialog(NULL, profile, new InlineLoginDialog(profile)); 15 chrome::ShowWebDialog(NULL, profile, new InlineLoginDialog());
16 } 16 }
17 17
18 InlineLoginDialog::InlineLoginDialog(Profile* profile) 18 InlineLoginDialog::InlineLoginDialog() {
19 : profile_(profile) {
20 } 19 }
21 20
22 ui::ModalType InlineLoginDialog::GetDialogModalType() const { 21 ui::ModalType InlineLoginDialog::GetDialogModalType() const {
23 return ui::MODAL_TYPE_SYSTEM; 22 return ui::MODAL_TYPE_SYSTEM;
24 } 23 }
25 24
26 base::string16 InlineLoginDialog::GetDialogTitle() const { 25 base::string16 InlineLoginDialog::GetDialogTitle() const {
27 return base::string16(); 26 return base::string16();
28 } 27 }
29 28
(...skipping 24 matching lines...) Expand all
54 } 53 }
55 54
56 bool InlineLoginDialog::ShouldShowDialogTitle() const { 55 bool InlineLoginDialog::ShouldShowDialogTitle() const {
57 return false; 56 return false;
58 } 57 }
59 58
60 bool InlineLoginDialog::HandleContextMenu( 59 bool InlineLoginDialog::HandleContextMenu(
61 const content::ContextMenuParams& params) { 60 const content::ContextMenuParams& params) {
62 return true; 61 return true;
63 } 62 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/sync/inline_login_dialog.h ('k') | chrome/browser/ui/sync/one_click_signin_sync_starter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698