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_CHROME_BROWSER_MAIN_H_ | 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ |
6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ | 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 class PrefService; | 25 class PrefService; |
26 class Profile; | 26 class Profile; |
27 class StartupBrowserCreator; | 27 class StartupBrowserCreator; |
28 class StartupTimeBomb; | 28 class StartupTimeBomb; |
29 class ShutdownWatcherHelper; | 29 class ShutdownWatcherHelper; |
30 class ThreeDAPIObserver; | 30 class ThreeDAPIObserver; |
31 class TranslateManager; | 31 class TranslateManager; |
32 | 32 |
33 namespace chrome_browser { | 33 namespace chrome_browser { |
34 // For use by ShowMissingLocaleMessageBox. | 34 // For use by ShowMissingLocaleMessageBox. |
| 35 #if defined(OS_WIN) |
35 extern const char kMissingLocaleDataTitle[]; | 36 extern const char kMissingLocaleDataTitle[]; |
| 37 #endif |
| 38 |
| 39 #if defined(OS_WIN) || defined(TOOLKIT_GTK) |
36 extern const char kMissingLocaleDataMessage[]; | 40 extern const char kMissingLocaleDataMessage[]; |
| 41 #endif |
37 } | 42 } |
38 | 43 |
39 namespace chrome_browser_metrics { | 44 namespace chrome_browser_metrics { |
40 class TrackingSynchronizer; | 45 class TrackingSynchronizer; |
41 } | 46 } |
42 | 47 |
43 namespace performance_monitor { | 48 namespace performance_monitor { |
44 class StartupTimer; | 49 class StartupTimer; |
45 } | 50 } |
46 | 51 |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 bool restart_last_session_; | 192 bool restart_last_session_; |
188 | 193 |
189 // Tests can set this to true to disable restricting cookie access in the | 194 // Tests can set this to true to disable restricting cookie access in the |
190 // network stack, as this can only be done once. | 195 // network stack, as this can only be done once. |
191 static bool disable_enforcing_cookie_policies_for_tests_; | 196 static bool disable_enforcing_cookie_policies_for_tests_; |
192 | 197 |
193 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainParts); | 198 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainParts); |
194 }; | 199 }; |
195 | 200 |
196 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ | 201 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ |
OLD | NEW |