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

Side by Side Diff: chrome/browser/chromeos/login/helper.h

Issue 2004453002: Add a Dns preresolve interface in //content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@predictor_dns_browsertest
Patch Set: remove controller class Created 4 years, 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file contains helper functions used by Chromium OS login. 5 // This file contains helper functions used by Chromium OS login.
6 6
7 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_ 7 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_
8 #define CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_ 8 #define CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
15 #include "third_party/skia/include/core/SkColor.h" 15 #include "third_party/skia/include/core/SkColor.h"
16 #include "ui/views/view.h" 16 #include "ui/views/view.h"
17 17
18 class GURL; 18 class GURL;
19 19
20 namespace gfx { 20 namespace gfx {
21 class Rect; 21 class Rect;
22 class Size; 22 class Size;
23 } // namespace gfx 23 } // namespace gfx
24 24
25 namespace content { 25 namespace content {
26 class ResourceContext;
26 class StoragePartition; 27 class StoragePartition;
27 } 28 }
28 29
29 namespace net { 30 namespace net {
30 class URLRequestContextGetter; 31 class URLRequestContextGetter;
31 } 32 }
32 33
33 namespace chromeos { 34 namespace chromeos {
34 35
35 // Returns bounds of the screen to use for login wizard. 36 // Returns bounds of the screen to use for login wizard.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // Returns the storage partition for the sign-in webview. Note the function gets 104 // Returns the storage partition for the sign-in webview. Note the function gets
104 // the partition via the sign-in WebContents thus returns nullptr if the sign-in 105 // the partition via the sign-in WebContents thus returns nullptr if the sign-in
105 // webui is torn down. 106 // webui is torn down.
106 content::StoragePartition* GetSigninPartition(); 107 content::StoragePartition* GetSigninPartition();
107 108
108 // Returns the request context that contains sign-in cookies. For old iframe 109 // Returns the request context that contains sign-in cookies. For old iframe
109 // based flow, the context of the sign-in profile is returned. For webview based 110 // based flow, the context of the sign-in profile is returned. For webview based
110 // flow, the context of the sign-in webview storage partition is returned. 111 // flow, the context of the sign-in webview storage partition is returned.
111 net::URLRequestContextGetter* GetSigninContext(); 112 net::URLRequestContextGetter* GetSigninContext();
112 113
114 content::ResourceContext* GetSigninResourceContext();
achuithb 2016/05/25 21:17:10 Do we need this?
Charlie Harrison 2016/05/25 21:36:19 Nope, I've changed the auth_prewarmer code to use
115
113 } // namespace login 116 } // namespace login
114 117
115 } // namespace chromeos 118 } // namespace chromeos
116 119
117 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_ 120 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698