| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 scoped_refptr<FieldTrialSynchronizer> field_trial_synchronizer_; | 178 scoped_refptr<FieldTrialSynchronizer> field_trial_synchronizer_; |
| 179 | 179 |
| 180 // Members initialized in PreMainMessageLoopRun, needed in | 180 // Members initialized in PreMainMessageLoopRun, needed in |
| 181 // PreMainMessageLoopRunThreadsCreated. | 181 // PreMainMessageLoopRunThreadsCreated. |
| 182 PrefService* local_state_; | 182 PrefService* local_state_; |
| 183 base::FilePath user_data_dir_; | 183 base::FilePath user_data_dir_; |
| 184 | 184 |
| 185 // Members needed across shutdown methods. | 185 // Members needed across shutdown methods. |
| 186 bool restart_last_session_; | 186 bool restart_last_session_; |
| 187 | 187 |
| 188 // Tests can set this to true to disable restricting cookie access in the | |
| 189 // network stack, as this can only be done once. | |
| 190 static bool disable_enforcing_cookie_policies_for_tests_; | |
| 191 | |
| 192 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainParts); | 188 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainParts); |
| 193 }; | 189 }; |
| 194 | 190 |
| 195 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ | 191 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ |
| OLD | NEW |