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

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

Issue 10689154: Remove #pragma once from chrome/browser/sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATION_MANAGER_H__ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATION_MANAGER_H__
6 #define CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATION_MANAGER_H__ 6 #define CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATION_MANAGER_H__
7 #pragma once
8 7
9 #include <list> 8 #include <list>
10 9
11 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
12 #include "base/timer.h" 11 #include "base/timer.h"
13 12
14 #include "chrome/browser/sync/glue/data_type_manager.h" 13 #include "chrome/browser/sync/glue/data_type_manager.h"
15 14
16 // |ModelAssociationManager| does the heavy lifting for doing the actual model 15 // |ModelAssociationManager| does the heavy lifting for doing the actual model
17 // association. It instructs DataTypeControllers to load models, start 16 // association. It instructs DataTypeControllers to load models, start
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 159
161 // Set of all registered controllers. 160 // Set of all registered controllers.
162 const DataTypeController::TypeMap* controllers_; 161 const DataTypeController::TypeMap* controllers_;
163 ModelAssociationResultProcessor* result_processor_; 162 ModelAssociationResultProcessor* result_processor_;
164 base::WeakPtrFactory<ModelAssociationManager> weak_ptr_factory_; 163 base::WeakPtrFactory<ModelAssociationManager> weak_ptr_factory_;
165 base::OneShotTimer<ModelAssociationManager> timer_; 164 base::OneShotTimer<ModelAssociationManager> timer_;
166 DISALLOW_COPY_AND_ASSIGN(ModelAssociationManager); 165 DISALLOW_COPY_AND_ASSIGN(ModelAssociationManager);
167 }; 166 };
168 } // namespace browser_sync 167 } // namespace browser_sync
169 #endif // CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATION_MANAGER_H__ 168 #endif // CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATION_MANAGER_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/history_model_worker.h ('k') | chrome/browser/sync/glue/model_associator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698