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/browser/chromeos/customization_document.h" | 5 #include "chrome/browser/chromeos/customization_document.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
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 21 matching lines...) Expand all Loading... |
32 #include "chrome/browser/extensions/external_provider_impl.h" | 32 #include "chrome/browser/extensions/external_provider_impl.h" |
33 #include "chrome/browser/profiles/profile.h" | 33 #include "chrome/browser/profiles/profile.h" |
34 #include "chrome/browser/ui/app_list/app_list_syncable_service.h" | 34 #include "chrome/browser/ui/app_list/app_list_syncable_service.h" |
35 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" | 35 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" |
36 #include "chrome/common/chrome_paths.h" | 36 #include "chrome/common/chrome_paths.h" |
37 #include "chrome/common/extensions/extension_constants.h" | 37 #include "chrome/common/extensions/extension_constants.h" |
38 #include "chrome/common/pref_names.h" | 38 #include "chrome/common/pref_names.h" |
39 #include "chromeos/network/network_state.h" | 39 #include "chromeos/network/network_state.h" |
40 #include "chromeos/network/network_state_handler.h" | 40 #include "chromeos/network/network_state_handler.h" |
41 #include "chromeos/system/statistics_provider.h" | 41 #include "chromeos/system/statistics_provider.h" |
42 #include "components/user_prefs/pref_registry_syncable.h" | 42 #include "components/pref_registry/pref_registry_syncable.h" |
43 #include "content/public/browser/browser_thread.h" | 43 #include "content/public/browser/browser_thread.h" |
44 #include "net/base/load_flags.h" | 44 #include "net/base/load_flags.h" |
45 #include "net/http/http_response_headers.h" | 45 #include "net/http/http_response_headers.h" |
46 #include "net/http/http_status_code.h" | 46 #include "net/http/http_status_code.h" |
47 #include "net/url_request/url_fetcher.h" | 47 #include "net/url_request/url_fetcher.h" |
48 #include "ui/base/l10n/l10n_util.h" | 48 #include "ui/base/l10n/l10n_util.h" |
49 | 49 |
50 using content::BrowserThread; | 50 using content::BrowserThread; |
51 | 51 |
52 namespace chromeos { | 52 namespace chromeos { |
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
960 apply_tasks_success_ += success; | 960 apply_tasks_success_ += success; |
961 | 961 |
962 if (apply_tasks_started_ != apply_tasks_finished_) | 962 if (apply_tasks_started_ != apply_tasks_finished_) |
963 return; | 963 return; |
964 | 964 |
965 if (apply_tasks_success_ == apply_tasks_finished_) | 965 if (apply_tasks_success_ == apply_tasks_finished_) |
966 SetApplied(true); | 966 SetApplied(true); |
967 } | 967 } |
968 | 968 |
969 } // namespace chromeos | 969 } // namespace chromeos |
OLD | NEW |