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

Side by Side Diff: chrome/browser/sync/glue/password_model_associator.h

Issue 6142009: Upating the app, ceee, chrome, ipc, media, and net directories to use the correct lock.h file. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Unified patch updating all references to the new base/synchronization/lock.h Created 9 years, 11 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) 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_BROWSER_SYNC_GLUE_PASSWORD_MODEL_ASSOCIATOR_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_PASSWORD_MODEL_ASSOCIATOR_H_
6 #define CHROME_BROWSER_SYNC_GLUE_PASSWORD_MODEL_ASSOCIATOR_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_PASSWORD_MODEL_ASSOCIATOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/lock.h" 14 #include "base/synchronization/lock.h"
15 #include "base/task.h" 15 #include "base/task.h"
16 #include "chrome/browser/history/history_types.h" 16 #include "chrome/browser/history/history_types.h"
17 #include "chrome/browser/sync/glue/model_associator.h" 17 #include "chrome/browser/sync/glue/model_associator.h"
18 #include "chrome/browser/sync/protocol/password_specifics.pb.h" 18 #include "chrome/browser/sync/protocol/password_specifics.pb.h"
19 19
20 class GURL; 20 class GURL;
21 class MessageLoop; 21 class MessageLoop;
22 class PasswordStore; 22 class PasswordStore;
23 class ProfileSyncService; 23 class ProfileSyncService;
24 24
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 typedef std::map<std::string, int64> PasswordToSyncIdMap; 125 typedef std::map<std::string, int64> PasswordToSyncIdMap;
126 typedef std::map<int64, std::string> SyncIdToPasswordMap; 126 typedef std::map<int64, std::string> SyncIdToPasswordMap;
127 127
128 ProfileSyncService* sync_service_; 128 ProfileSyncService* sync_service_;
129 PasswordStore* password_store_; 129 PasswordStore* password_store_;
130 int64 password_node_id_; 130 int64 password_node_id_;
131 131
132 // Abort association pending flag and lock. If this is set to true 132 // Abort association pending flag and lock. If this is set to true
133 // (via the AbortAssociation method), return from the 133 // (via the AbortAssociation method), return from the
134 // AssociateModels method as soon as possible. 134 // AssociateModels method as soon as possible.
135 Lock abort_association_pending_lock_; 135 base::Lock abort_association_pending_lock_;
136 bool abort_association_pending_; 136 bool abort_association_pending_;
137 137
138 MessageLoop* expected_loop_; 138 MessageLoop* expected_loop_;
139 139
140 PasswordToSyncIdMap id_map_; 140 PasswordToSyncIdMap id_map_;
141 SyncIdToPasswordMap id_map_inverse_; 141 SyncIdToPasswordMap id_map_inverse_;
142 142
143 DISALLOW_COPY_AND_ASSIGN(PasswordModelAssociator); 143 DISALLOW_COPY_AND_ASSIGN(PasswordModelAssociator);
144 }; 144 };
145 145
146 } // namespace browser_sync 146 } // namespace browser_sync
147 147
148 #endif // CHROME_BROWSER_SYNC_GLUE_PASSWORD_MODEL_ASSOCIATOR_H_ 148 #endif // CHROME_BROWSER_SYNC_GLUE_PASSWORD_MODEL_ASSOCIATOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/autofill_profile_model_associator.cc ('k') | chrome/browser/sync/glue/password_model_associator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698