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

Side by Side Diff: rlz/mac/lib/rlz_value_store_mac.h

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwyu, scoped_nsprotocol Created 7 years, 6 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 RLZ_MAC_LIB_RLZ_VALUE_STORE_MAC_H_ 5 #ifndef RLZ_MAC_LIB_RLZ_VALUE_STORE_MAC_H_
6 #define RLZ_MAC_LIB_RLZ_VALUE_STORE_MAC_H_ 6 #define RLZ_MAC_LIB_RLZ_VALUE_STORE_MAC_H_
7 7
8 #include "base/compiler_specific.h"
9 #include "base/mac/scoped_nsobject.h"
8 #include "rlz/lib/rlz_value_store.h" 10 #include "rlz/lib/rlz_value_store.h"
9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_nsobject.h"
11 11
12 @class NSDictionary; 12 @class NSDictionary;
13 @class NSMutableDictionary; 13 @class NSMutableDictionary;
14 14
15 namespace rlz_lib { 15 namespace rlz_lib {
16 16
17 // An implementation of RlzValueStore for mac. It stores information in a 17 // An implementation of RlzValueStore for mac. It stores information in a
18 // plist file in the user's Application Support folder. 18 // plist file in the user's Application Support folder.
19 class RlzValueStoreMac : public RlzValueStore { 19 class RlzValueStoreMac : public RlzValueStore {
20 public: 20 public:
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // Note that windows stores data at 62 // Note that windows stores data at
63 // rlz/name (e.g. "pingtime")/supplementalbranding/productcode 63 // rlz/name (e.g. "pingtime")/supplementalbranding/productcode
64 // Mac on the other hand does 64 // Mac on the other hand does
65 // supplementalbranding/productcode/pingtime. 65 // supplementalbranding/productcode/pingtime.
66 NSMutableDictionary* WorkingDict(); 66 NSMutableDictionary* WorkingDict();
67 67
68 // Returns the subdirectory of |WorkingDict()| used to store data for 68 // Returns the subdirectory of |WorkingDict()| used to store data for
69 // product p. 69 // product p.
70 NSMutableDictionary* ProductDict(Product p); 70 NSMutableDictionary* ProductDict(Product p);
71 71
72 scoped_nsobject<NSMutableDictionary> dict_; 72 base::scoped_nsobject<NSMutableDictionary> dict_;
73 scoped_nsobject<NSString> plist_path_; 73 base::scoped_nsobject<NSString> plist_path_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(RlzValueStoreMac); 75 DISALLOW_COPY_AND_ASSIGN(RlzValueStoreMac);
76 }; 76 };
77 77
78 } // namespace rlz_lib 78 } // namespace rlz_lib
79 79
80 #endif // RLZ_MAC_LIB_RLZ_VALUE_STORE_MAC_H_ 80 #endif // RLZ_MAC_LIB_RLZ_VALUE_STORE_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698