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

Side by Side Diff: chrome/browser/chromeos/settings/ownership_service.h

Issue 10824112: Move Chrome OS device settings stuff to chrome/browser/chromeos/settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 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 | Annotate | Revision Log
OLDNEW
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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_OWNERSHIP_SERVICE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_SETTINGS_OWNERSHIP_SERVICE_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_OWNERSHIP_SERVICE_H_ 6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_OWNERSHIP_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
15 #include "chrome/browser/chromeos/login/owner_key_utils.h" 15 #include "chrome/browser/chromeos/settings/owner_key_utils.h"
16 #include "chrome/browser/chromeos/login/owner_manager.h" 16 #include "chrome/browser/chromeos/settings/owner_manager.h"
17 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
18 #include "content/public/browser/notification_observer.h" 18 #include "content/public/browser/notification_observer.h"
19 #include "content/public/browser/notification_registrar.h" 19 #include "content/public/browser/notification_registrar.h"
20 20
21 namespace base { 21 namespace base {
22 template <typename T> struct DefaultLazyInstanceTraits; 22 template <typename T> struct DefaultLazyInstanceTraits;
23 } 23 }
24 24
25 namespace chromeos { 25 namespace chromeos {
26 26
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 content::NotificationRegistrar notification_registrar_; 140 content::NotificationRegistrar notification_registrar_;
141 volatile Status ownership_status_; 141 volatile Status ownership_status_;
142 base::Lock ownership_status_lock_; 142 base::Lock ownership_status_lock_;
143 143
144 // If true, current user is regarded as owner (for testing only). 144 // If true, current user is regarded as owner (for testing only).
145 bool force_ownership_; 145 bool force_ownership_;
146 }; 146 };
147 147
148 } // namespace chromeos 148 } // namespace chromeos
149 149
150 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OWNERSHIP_SERVICE_H_ 150 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_OWNERSHIP_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/settings/owner_manager_unittest.cc ('k') | chrome/browser/chromeos/settings/ownership_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698