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

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

Issue 408003002: [Sync] Fix namespace for sync_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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_TYPED_URL_DATA_TYPE_CONTROLLER_H__ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_TYPED_URL_DATA_TYPE_CONTROLLER_H__
6 #define CHROME_BROWSER_SYNC_GLUE_TYPED_URL_DATA_TYPE_CONTROLLER_H__ 6 #define CHROME_BROWSER_SYNC_GLUE_TYPED_URL_DATA_TYPE_CONTROLLER_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 30 matching lines...) Expand all
41 // before CreateSyncComponents() is invoked. 41 // before CreateSyncComponents() is invoked.
42 void SetBackend(history::HistoryBackend* backend); 42 void SetBackend(history::HistoryBackend* backend);
43 43
44 protected: 44 protected:
45 // NonFrontendDataTypeController interface. 45 // NonFrontendDataTypeController interface.
46 virtual bool PostTaskOnBackendThread( 46 virtual bool PostTaskOnBackendThread(
47 const tracked_objects::Location& from_here, 47 const tracked_objects::Location& from_here,
48 const base::Closure& task) OVERRIDE; 48 const base::Closure& task) OVERRIDE;
49 virtual ProfileSyncComponentsFactory::SyncComponents CreateSyncComponents() 49 virtual ProfileSyncComponentsFactory::SyncComponents CreateSyncComponents()
50 OVERRIDE; 50 OVERRIDE;
51 virtual void DisconnectProcessor(ChangeProcessor* processor) OVERRIDE; 51 virtual void DisconnectProcessor(
52 sync_driver::ChangeProcessor* processor) OVERRIDE;
52 53
53 private: 54 private:
54 virtual ~TypedUrlDataTypeController(); 55 virtual ~TypedUrlDataTypeController();
55 56
56 void OnSavingBrowserHistoryDisabledChanged(); 57 void OnSavingBrowserHistoryDisabledChanged();
57 58
58 history::HistoryBackend* backend_; 59 history::HistoryBackend* backend_;
59 PrefChangeRegistrar pref_registrar_; 60 PrefChangeRegistrar pref_registrar_;
60 61
61 // Helper object to make sure we don't leave tasks running on the history 62 // Helper object to make sure we don't leave tasks running on the history
62 // thread. 63 // thread.
63 base::CancelableTaskTracker task_tracker_; 64 base::CancelableTaskTracker task_tracker_;
64 65
65 DISALLOW_COPY_AND_ASSIGN(TypedUrlDataTypeController); 66 DISALLOW_COPY_AND_ASSIGN(TypedUrlDataTypeController);
66 }; 67 };
67 68
68 } // namespace browser_sync 69 } // namespace browser_sync
69 70
70 #endif // CHROME_BROWSER_SYNC_GLUE_TYPED_URL_DATA_TYPE_CONTROLLER_H__ 71 #endif // CHROME_BROWSER_SYNC_GLUE_TYPED_URL_DATA_TYPE_CONTROLLER_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/typed_url_change_processor.cc ('k') | chrome/browser/sync/glue/typed_url_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698