| 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 #ifndef CHROME_BROWSER_UI_CHROME_PAGES_H_ | 5 #ifndef CHROME_BROWSER_UI_CHROME_PAGES_H_ |
| 6 #define CHROME_BROWSER_UI_CHROME_PAGES_H_ | 6 #define CHROME_BROWSER_UI_CHROME_PAGES_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 13 #include "components/content_settings/core/common/content_settings_types.h" | 13 #include "components/content_settings/core/common/content_settings_types.h" |
| 14 #include "url/gurl.h" | 14 #include "url/gurl.h" |
| 15 | 15 |
| 16 #if !defined(OS_ANDROID) | 16 #if !defined(OS_ANDROID) |
| 17 #include "chrome/browser/signin/signin_promo.h" | 17 #include "chrome/browser/signin/signin_promo.h" |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 class Browser; | 20 class Browser; |
| 21 class Profile; |
| 21 | 22 |
| 22 namespace content { | 23 namespace content { |
| 23 class WebContents; | 24 class WebContents; |
| 24 } | 25 } |
| 25 | 26 |
| 26 namespace chrome { | 27 namespace chrome { |
| 27 | 28 |
| 28 // Sources of requests to show the help tab. | 29 // Sources of requests to show the help tab. |
| 29 enum HelpSource { | 30 enum HelpSource { |
| 30 // Keyboard accelerators. | 31 // Keyboard accelerators. |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 | 97 |
| 97 // If the user is already signed in, shows the "Signin" portion of Settings, | 98 // If the user is already signed in, shows the "Signin" portion of Settings, |
| 98 // otherwise initiates signin in a new browser tab. | 99 // otherwise initiates signin in a new browser tab. |
| 99 void ShowBrowserSigninOrSettings(Browser* browser, | 100 void ShowBrowserSigninOrSettings(Browser* browser, |
| 100 signin_metrics::AccessPoint access_point); | 101 signin_metrics::AccessPoint access_point); |
| 101 #endif | 102 #endif |
| 102 | 103 |
| 103 } // namespace chrome | 104 } // namespace chrome |
| 104 | 105 |
| 105 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_ | 106 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_ |
| OLD | NEW |