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

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

Issue 2787453002: Revert of Use the same browser instance in the sync confirmation dialog. (Closed)
Patch Set: Created 3 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_SIGNIN_UTILS_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_UTILS_H_
6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_UTILS_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 16 matching lines...) Expand all
27 content::WebContents* GetAuthFrameWebContents( 27 content::WebContents* GetAuthFrameWebContents(
28 content::WebContents* web_contents, 28 content::WebContents* web_contents,
29 const std::string& parent_frame_name); 29 const std::string& parent_frame_name);
30 30
31 // Gets the browser containing the web UI; if none is found, returns the last 31 // Gets the browser containing the web UI; if none is found, returns the last
32 // active browser for web UI's profile. 32 // active browser for web UI's profile.
33 Browser* GetDesktopBrowser(content::WebUI* web_ui); 33 Browser* GetDesktopBrowser(content::WebUI* web_ui);
34 34
35 // Sets the height of the WebUI modal dialog after its initialization. This is 35 // Sets the height of the WebUI modal dialog after its initialization. This is
36 // needed to better accomodate different locales' text heights. 36 // needed to better accomodate different locales' text heights.
37 void SetInitializedModalHeight(Browser* browser, 37 void SetInitializedModalHeight(content::WebUI* web_ui,
38 content::WebUI* web_ui,
39 const base::ListValue* args); 38 const base::ListValue* args);
40 39
41 // Return true if force signin is enabled by group policy. 40 // Return true if force signin is enabled by group policy.
42 bool IsForceSigninEnabled(); 41 bool IsForceSigninEnabled();
43 42
44 } // namespace signin 43 } // namespace signin
45 44
46 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_UTILS_H_ 45 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/signin/signin_error_handler.cc ('k') | chrome/browser/ui/webui/signin/signin_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698