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

Side by Side Diff: chrome/browser/chromeos/login/signed_settings.h

Issue 8477004: Have content/ create and destroy its own threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: With this patchset, Chrome runs and exits normally on Linux. Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_SIGNED_SETTINGS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNED_SETTINGS_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNED_SETTINGS_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNED_SETTINGS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h"
13 #include "chrome/browser/chromeos/login/owner_manager.h" 14 #include "chrome/browser/chromeos/login/owner_manager.h"
14 15
15 // There are two categories of operations that can be performed on the 16 // There are two categories of operations that can be performed on the
16 // Chrome OS owner-signed settings store: 17 // Chrome OS owner-signed settings store:
17 // 1) doing stuff to the whitelist (adding/removing/checking) 18 // 1) doing stuff to the whitelist (adding/removing/checking)
18 // 2) Storing/Retrieving arbitrary name=value pairs 19 // 2) Storing/Retrieving arbitrary name=value pairs
19 // 20 //
20 // Unfortunately, it is currently a limitation that only one of each 21 // Unfortunately, it is currently a limitation that only one of each
21 // category can be in-flight at a time. You can be doing exactly one thing 22 // category can be in-flight at a time. You can be doing exactly one thing
22 // to the whitelist, and exactly one thing to the property store at a time. 23 // to the whitelist, and exactly one thing to the property store at a time.
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 static const char kDevicePolicyType[]; 135 static const char kDevicePolicyType[];
135 136
136 scoped_ptr<Relay> relay_; 137 scoped_ptr<Relay> relay_;
137 scoped_refptr<SignedSettings> polfetcher_; 138 scoped_refptr<SignedSettings> polfetcher_;
138 DISALLOW_COPY_AND_ASSIGN(SignedSettings); 139 DISALLOW_COPY_AND_ASSIGN(SignedSettings);
139 }; 140 };
140 141
141 } // namespace chromeos 142 } // namespace chromeos
142 143
143 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNED_SETTINGS_H_ 144 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNED_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698