| 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 #include "chrome/test/ui/ui_test.h" | 5 #include "chrome/test/ui/ui_test.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
| 9 #include "base/process_util.h" | |
| 10 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
| 11 #include "chrome/browser/chrome_notification_types.h" | 10 #include "chrome/browser/chrome_notification_types.h" |
| 12 #include "chrome/browser/ui/browser.h" | 11 #include "chrome/browser/ui/browser.h" |
| 13 #include "chrome/browser/ui/browser_commands.h" | 12 #include "chrome/browser/ui/browser_commands.h" |
| 14 #include "chrome/browser/user_data_dir_extractor_win.h" | 13 #include "chrome/browser/user_data_dir_extractor_win.h" |
| 15 #include "chrome/common/chrome_paths.h" | 14 #include "chrome/common/chrome_paths.h" |
| 16 #include "chrome/common/chrome_switches.h" | 15 #include "chrome/common/chrome_switches.h" |
| 17 #include "chrome/test/base/in_process_browser_test.h" | 16 #include "chrome/test/base/in_process_browser_test.h" |
| 18 #include "chrome/test/base/ui_test_utils.h" | 17 #include "chrome/test/base/ui_test_utils.h" |
| 19 | 18 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 63 |
| 65 // Verify that local state was not created before invoking GetUserDataDir(). | 64 // Verify that local state was not created before invoking GetUserDataDir(). |
| 66 ASSERT_FALSE(did_create_local_state_before_get_user_data_dir()); | 65 ASSERT_FALSE(did_create_local_state_before_get_user_data_dir()); |
| 67 | 66 |
| 68 // Verify that we have a valid browser process. | 67 // Verify that we have a valid browser process. |
| 69 ASSERT_TRUE(g_browser_process); | 68 ASSERT_TRUE(g_browser_process); |
| 70 | 69 |
| 71 // Verify that local state is created now. | 70 // Verify that local state is created now. |
| 72 ASSERT_TRUE(g_browser_process->created_local_state()); | 71 ASSERT_TRUE(g_browser_process->created_local_state()); |
| 73 } | 72 } |
| OLD | NEW |