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

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

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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 #include "chrome/browser/sync/glue/ui_data_type_controller.h" 5 #include "chrome/browser/sync/glue/ui_data_type_controller.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/sync/api/sync_error.h" 9 #include "chrome/browser/sync/api/sync_error.h"
10 #include "chrome/browser/sync/api/syncable_service.h" 10 #include "chrome/browser/sync/api/syncable_service.h"
11 #include "chrome/browser/sync/glue/generic_change_processor.h" 11 #include "chrome/browser/sync/glue/generic_change_processor.h"
12 #include "chrome/browser/sync/profile_sync_components_factory.h" 12 #include "chrome/browser/sync/profile_sync_components_factory.h"
13 #include "chrome/browser/sync/profile_sync_service.h" 13 #include "chrome/browser/sync/profile_sync_service.h"
14 #include "chrome/browser/sync/syncable/model_type.h"
15 #include "chrome/browser/sync/util/data_type_histogram.h"
16 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
15 #include "sync/syncable/model_type.h"
16 #include "sync/util/data_type_histogram.h"
17 17
18 using content::BrowserThread; 18 using content::BrowserThread;
19 19
20 namespace browser_sync { 20 namespace browser_sync {
21 21
22 UIDataTypeController::UIDataTypeController() 22 UIDataTypeController::UIDataTypeController()
23 : profile_sync_factory_(NULL), 23 : profile_sync_factory_(NULL),
24 profile_(NULL), 24 profile_(NULL),
25 sync_service_(NULL), 25 sync_service_(NULL),
26 state_(NOT_RUNNING), 26 state_(NOT_RUNNING),
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 UMA_HISTOGRAM_ENUMERATION("Sync.DataTypeStartFailures", type(), 252 UMA_HISTOGRAM_ENUMERATION("Sync.DataTypeStartFailures", type(),
253 syncable::MODEL_TYPE_COUNT); 253 syncable::MODEL_TYPE_COUNT);
254 #define PER_DATA_TYPE_MACRO(type_str) \ 254 #define PER_DATA_TYPE_MACRO(type_str) \
255 UMA_HISTOGRAM_ENUMERATION("Sync." type_str "StartFailure", result, \ 255 UMA_HISTOGRAM_ENUMERATION("Sync." type_str "StartFailure", result, \
256 MAX_START_RESULT); 256 MAX_START_RESULT);
257 SYNC_DATA_TYPE_HISTOGRAM(type()); 257 SYNC_DATA_TYPE_HISTOGRAM(type());
258 #undef PER_DATA_TYPE_MACRO 258 #undef PER_DATA_TYPE_MACRO
259 } 259 }
260 260
261 } // namespace browser_sync 261 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/theme_model_associator.h ('k') | chrome/browser/sync/glue/ui_model_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698