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

Side by Side Diff: chrome/service/service_process_prefs.h

Issue 6349029: Get service processes working on Mac and Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix up small typo in comment Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/service/service_process.cc ('k') | chrome/service/service_process_prefs.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_SERVICE_SERVICE_PROCESS_PREFS_H_ 5 #ifndef CHROME_SERVICE_SERVICE_PROCESS_PREFS_H_
6 #define CHROME_SERVICE_SERVICE_PROCESS_PREFS_H_ 6 #define CHROME_SERVICE_SERVICE_PROCESS_PREFS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 23 matching lines...) Expand all
34 // Get a boolean preference for |key| and store it in |result|. 34 // Get a boolean preference for |key| and store it in |result|.
35 void GetBoolean(const std::string& key, bool* result); 35 void GetBoolean(const std::string& key, bool* result);
36 36
37 // Set a boolean |value| for |key|. 37 // Set a boolean |value| for |key|.
38 void SetBoolean(const std::string& key, bool value); 38 void SetBoolean(const std::string& key, bool value);
39 39
40 // Get a dictionary preference for |key| and store it in |result|. 40 // Get a dictionary preference for |key| and store it in |result|.
41 void GetDictionary(const std::string& key, DictionaryValue** result); 41 void GetDictionary(const std::string& key, DictionaryValue** result);
42 42
43 private: 43 private:
44 JsonPrefStore prefs_; 44 scoped_refptr<JsonPrefStore> prefs_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(ServiceProcessPrefs); 46 DISALLOW_COPY_AND_ASSIGN(ServiceProcessPrefs);
47 }; 47 };
48 48
49 #endif // CHROME_SERVICE_SERVICE_PROCESS_PREFS_H_ 49 #endif // CHROME_SERVICE_SERVICE_PROCESS_PREFS_H_
OLDNEW
« no previous file with comments | « chrome/service/service_process.cc ('k') | chrome/service/service_process_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698