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

Side by Side Diff: chrome/browser/sync/glue/autofill_profile_model_associator.cc

Issue 6366019: Part 1 of repairing regressions to my old clang check plugins so Nico can (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove Nico's changes that I patched in for testing. 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 #include "chrome/browser/sync/glue/autofill_profile_model_associator.h" 5 #include "chrome/browser/sync/glue/autofill_profile_model_associator.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/sync/glue/autofill_profile_change_processor.h" 8 #include "chrome/browser/sync/glue/autofill_profile_change_processor.h"
9 #include "chrome/browser/sync/glue/do_optimistic_refresh_task.h" 9 #include "chrome/browser/sync/glue/do_optimistic_refresh_task.h"
10 #include "chrome/browser/sync/profile_sync_service.h" 10 #include "chrome/browser/sync/profile_sync_service.h"
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 int64 sync_id) { 463 int64 sync_id) {
464 SyncIdToAutofillMap::const_iterator iter = id_map_inverse_.find(sync_id); 464 SyncIdToAutofillMap::const_iterator iter = id_map_inverse_.find(sync_id);
465 return iter == id_map_inverse_.end() ? NULL : &(iter->second); 465 return iter == id_map_inverse_.end() ? NULL : &(iter->second);
466 } 466 }
467 467
468 bool AutofillProfileModelAssociator::IsAbortPending() { 468 bool AutofillProfileModelAssociator::IsAbortPending() {
469 base::AutoLock lock(abort_association_pending_lock_); 469 base::AutoLock lock(abort_association_pending_lock_);
470 return abort_association_pending_; 470 return abort_association_pending_;
471 } 471 }
472 472
473 AutofillProfileModelAssociator::DataBundle::DataBundle() {}
474
475 AutofillProfileModelAssociator::DataBundle::~DataBundle() {
476 STLDeleteElements(&new_profiles);
477 }
478
479
473 } // namespace browser_sync 480 } // namespace browser_sync
474 481
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698