OLD | NEW |
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; | |
19 | |
20 namespace gfx { | 18 namespace gfx { |
21 class Rect; | 19 class Rect; |
22 class Size; | 20 class Size; |
23 } // namespace gfx | 21 } // namespace gfx |
24 | 22 |
25 namespace content { | 23 namespace content { |
26 class StoragePartition; | 24 class StoragePartition; |
27 } | 25 } |
28 | 26 |
29 namespace net { | 27 namespace net { |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 // Returns the request context that contains sign-in cookies. For old iframe | 106 // 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 | 107 // 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. | 108 // flow, the context of the sign-in webview storage partition is returned. |
111 net::URLRequestContextGetter* GetSigninContext(); | 109 net::URLRequestContextGetter* GetSigninContext(); |
112 | 110 |
113 } // namespace login | 111 } // namespace login |
114 | 112 |
115 } // namespace chromeos | 113 } // namespace chromeos |
116 | 114 |
117 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_ | 115 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_ |
OLD | NEW |