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

Side by Side Diff: chrome/browser/ui/webui/signin/inline_login_handler_impl.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_
6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_
7 7
8 #include <memory>
8 #include <string> 9 #include <string>
9 10
10 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
11 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
12 #include "base/macros.h" 13 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "chrome/browser/ui/sync/one_click_signin_sync_starter.h" 15 #include "chrome/browser/ui/sync/one_click_signin_sync_starter.h"
16 #include "chrome/browser/ui/webui/signin/inline_login_handler.h" 16 #include "chrome/browser/ui/webui/signin/inline_login_handler.h"
17 #include "google_apis/gaia/gaia_auth_consumer.h" 17 #include "google_apis/gaia/gaia_auth_consumer.h"
18 18
19 // Implementation for the inline login WebUI handler on desktop Chrome. Once 19 // Implementation for the inline login WebUI handler on desktop Chrome. Once
20 // CrOS migrates to the same webview approach as desktop Chrome, much of the 20 // CrOS migrates to the same webview approach as desktop Chrome, much of the
21 // code in this class should move to its base class |InlineLoginHandler|. 21 // code in this class should move to its base class |InlineLoginHandler|.
22 class InlineLoginHandlerImpl : public InlineLoginHandler, 22 class InlineLoginHandlerImpl : public InlineLoginHandler,
23 public content::WebContentsObserver { 23 public content::WebContentsObserver {
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 std::string password_; 208 std::string password_;
209 std::string session_index_; 209 std::string session_index_;
210 std::string auth_code_; 210 std::string auth_code_;
211 bool choose_what_to_sync_; 211 bool choose_what_to_sync_;
212 bool confirm_untrusted_signin_; 212 bool confirm_untrusted_signin_;
213 213
214 DISALLOW_COPY_AND_ASSIGN(InlineSigninHelper); 214 DISALLOW_COPY_AND_ASSIGN(InlineSigninHelper);
215 }; 215 };
216 216
217 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ 217 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/settings_utils_linux.cc ('k') | chrome/browser/ui/webui/signin/inline_login_ui_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698