OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/browser/sync/profile_sync_service_mock.h" | 5 #include "chrome/browser/sync/profile_sync_service_mock.h" |
6 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" | 6 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" |
7 #include "chrome/common/url_constants.h" | 7 #include "chrome/common/url_constants.h" |
8 | 8 |
9 ProfileSyncServiceMock::ProfileSyncServiceMock() {} | 9 ProfileSyncServiceMock::ProfileSyncServiceMock() {} |
10 | 10 |
11 ProfileSyncServiceMock::~ProfileSyncServiceMock() { | 11 ProfileSyncServiceMock::~ProfileSyncServiceMock() { |
12 ChromeURLDataManager::GetInstance()->RemoveDataSourceForTest( | |
13 chrome::kChromeUISyncResourcesHost); | |
14 } | 12 } |
OLD | NEW |