Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc

Issue 2691263002: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/ownership/owner_settings_service_chromeos.h" 5 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h"
6 6
7 #include <keyhi.h> 7 #include <keyhi.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 #include <string> 11 #include <string>
12 #include <utility> 12 #include <utility>
13 13
14 #include "base/bind.h" 14 #include "base/bind.h"
15 #include "base/bind_helpers.h" 15 #include "base/bind_helpers.h"
16 #include "base/callback.h" 16 #include "base/callback.h"
17 #include "base/command_line.h" 17 #include "base/command_line.h"
18 #include "base/memory/ptr_util.h" 18 #include "base/memory/ptr_util.h"
19 #include "base/threading/sequenced_worker_pool.h"
20 #include "base/threading/thread_checker.h" 19 #include "base/threading/thread_checker.h"
21 #include "chrome/browser/chrome_notification_types.h" 20 #include "chrome/browser/chrome_notification_types.h"
22 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_fact ory.h" 21 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_fact ory.h"
23 #include "chrome/browser/chromeos/profiles/profile_helper.h" 22 #include "chrome/browser/chromeos/profiles/profile_helper.h"
24 #include "chrome/browser/chromeos/settings/cros_settings.h" 23 #include "chrome/browser/chromeos/settings/cros_settings.h"
25 #include "chrome/browser/chromeos/settings/device_settings_provider.h" 24 #include "chrome/browser/chromeos/settings/device_settings_provider.h"
26 #include "chrome/browser/profiles/profile.h" 25 #include "chrome/browser/profiles/profile.h"
27 #include "chromeos/chromeos_switches.h" 26 #include "chromeos/chromeos_switches.h"
28 #include "chromeos/dbus/dbus_thread_manager.h" 27 #include "chromeos/dbus/dbus_thread_manager.h"
29 #include "chromeos/tpm/tpm_token_loader.h" 28 #include "chromeos/tpm/tpm_token_loader.h"
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 728
730 void OwnerSettingsServiceChromeOS::ReportStatusAndContinueStoring( 729 void OwnerSettingsServiceChromeOS::ReportStatusAndContinueStoring(
731 bool success) { 730 bool success) {
732 store_settings_factory_.InvalidateWeakPtrs(); 731 store_settings_factory_.InvalidateWeakPtrs();
733 for (auto& observer : observers_) 732 for (auto& observer : observers_)
734 observer.OnSignedPolicyStored(success); 733 observer.OnSignedPolicyStored(success);
735 StorePendingChanges(); 734 StorePendingChanges();
736 } 735 }
737 736
738 } // namespace chromeos 737 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698