OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/profile_resetter/automatic_profile_resetter_delegate.h" | 5 #include "chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "chrome/browser/profile_resetter/brandcode_config_fetcher.h" | 21 #include "chrome/browser/profile_resetter/brandcode_config_fetcher.h" |
22 #include "chrome/browser/profile_resetter/profile_reset_global_error.h" | 22 #include "chrome/browser/profile_resetter/profile_reset_global_error.h" |
23 #include "chrome/browser/profile_resetter/profile_resetter.h" | 23 #include "chrome/browser/profile_resetter/profile_resetter.h" |
24 #include "chrome/browser/profile_resetter/resettable_settings_snapshot.h" | 24 #include "chrome/browser/profile_resetter/resettable_settings_snapshot.h" |
25 #include "chrome/browser/profiles/profile.h" | 25 #include "chrome/browser/profiles/profile.h" |
26 #include "chrome/browser/search_engines/template_url_service_factory.h" | 26 #include "chrome/browser/search_engines/template_url_service_factory.h" |
27 #include "chrome/browser/ui/browser.h" | 27 #include "chrome/browser/ui/browser.h" |
28 #include "chrome/browser/ui/browser_finder.h" | 28 #include "chrome/browser/ui/browser_finder.h" |
29 #include "chrome/browser/ui/global_error/global_error_service.h" | 29 #include "chrome/browser/ui/global_error/global_error_service.h" |
30 #include "chrome/browser/ui/global_error/global_error_service_factory.h" | 30 #include "chrome/browser/ui/global_error/global_error_service_factory.h" |
| 31 #include "chrome/browser/ui/host_desktop.h" |
31 #include "components/search_engines/template_url_prepopulate_data.h" | 32 #include "components/search_engines/template_url_prepopulate_data.h" |
32 #include "components/search_engines/template_url_service.h" | 33 #include "components/search_engines/template_url_service.h" |
33 #include "content/public/browser/browser_thread.h" | 34 #include "content/public/browser/browser_thread.h" |
34 #include "content/public/browser/notification_service.h" | 35 #include "content/public/browser/notification_service.h" |
35 | 36 |
36 #if defined(OS_WIN) | 37 #if defined(OS_WIN) |
37 #include "chrome/browser/enumerate_modules_model_win.h" | 38 #include "chrome/browser/enumerate_modules_model_win.h" |
38 #endif | 39 #endif |
39 | 40 |
40 namespace { | 41 namespace { |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 if (difference) { | 385 if (difference) { |
385 old_settings_snapshot->Subtract(new_settings_snapshot); | 386 old_settings_snapshot->Subtract(new_settings_snapshot); |
386 std::string report = | 387 std::string report = |
387 SerializeSettingsReport(*old_settings_snapshot, difference); | 388 SerializeSettingsReport(*old_settings_snapshot, difference); |
388 SendFeedback(report); | 389 SendFeedback(report); |
389 } | 390 } |
390 } | 391 } |
391 content::BrowserThread::PostTask( | 392 content::BrowserThread::PostTask( |
392 content::BrowserThread::UI, FROM_HERE, user_callback); | 393 content::BrowserThread::UI, FROM_HERE, user_callback); |
393 } | 394 } |
OLD | NEW |