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

Side by Side Diff: chrome/browser/chromeos/ownership/fake_owner_settings_service.h

Issue 2230533002: Delete dead consumer enrollment code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 #ifndef CHROME_BROWSER_CHROMEOS_OWNERSHIP_FAKE_OWNER_SETTINGS_SERVICE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_OWNERSHIP_FAKE_OWNER_SETTINGS_SERVICE_H_
6 #define CHROME_BROWSER_CHROMEOS_OWNERSHIP_FAKE_OWNER_SETTINGS_SERVICE_H_ 6 #define CHROME_BROWSER_CHROMEOS_OWNERSHIP_FAKE_OWNER_SETTINGS_SERVICE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h" 10 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h"
(...skipping 19 matching lines...) Expand all
30 30
31 void set_set_management_settings_result(bool success) { 31 void set_set_management_settings_result(bool success) {
32 set_management_settings_result_ = success; 32 set_management_settings_result_ = success;
33 } 33 }
34 34
35 const ManagementSettings& last_settings() const { 35 const ManagementSettings& last_settings() const {
36 return last_settings_; 36 return last_settings_;
37 } 37 }
38 38
39 // OwnerSettingsServiceChromeOS: 39 // OwnerSettingsServiceChromeOS:
40 void SetManagementSettings(
41 const ManagementSettings& settings,
42 const OnManagementSettingsSetCallback& callback) override;
43 bool Set(const std::string& setting, const base::Value& value) override; 40 bool Set(const std::string& setting, const base::Value& value) override;
44 41
45 private: 42 private:
46 bool set_management_settings_result_; 43 bool set_management_settings_result_;
47 ManagementSettings last_settings_; 44 ManagementSettings last_settings_;
48 StubCrosSettingsProvider* settings_provider_; 45 StubCrosSettingsProvider* settings_provider_;
49 46
50 DISALLOW_COPY_AND_ASSIGN(FakeOwnerSettingsService); 47 DISALLOW_COPY_AND_ASSIGN(FakeOwnerSettingsService);
51 }; 48 };
52 49
53 } // namespace chromeos 50 } // namespace chromeos
54 51
55 #endif // CHROME_BROWSER_CHROMEOS_OWNERSHIP_FAKE_OWNER_SETTINGS_SERVICE_H_ 52 #endif // CHROME_BROWSER_CHROMEOS_OWNERSHIP_FAKE_OWNER_SETTINGS_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698