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

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

Issue 3825005: Fix syncing of sessions. Numerous changes have been made. Currently, the mode... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Rebased again Created 10 years, 2 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
Property Changes:
Added: svn:eol-style
+ LF
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_SESSION_CHANGE_PROCESSOR_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SESSION_CHANGE_PROCESSOR_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SESSION_CHANGE_PROCESSOR_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_SESSION_CHANGE_PROCESSOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "chrome/browser/sessions/session_backend.h" 10 #include "chrome/browser/sessions/session_backend.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 const sync_api::SyncManager::ChangeRecord* changes, 50 const sync_api::SyncManager::ChangeRecord* changes,
51 int change_count); 51 int change_count);
52 52
53 protected: 53 protected:
54 // ChangeProcessor implementation. 54 // ChangeProcessor implementation.
55 virtual void StartImpl(Profile* profile); 55 virtual void StartImpl(Profile* profile);
56 virtual void StopImpl(); 56 virtual void StopImpl();
57 private: 57 private:
58 void StartObserving(); 58 void StartObserving();
59 void StopObserving(); 59 void StopObserving();
60 void UpdateModel(const sync_api::BaseTransaction* trans,
61 const sync_api::SyncManager::ChangeRecord& change, bool associate);
62 SessionModelAssociator* session_model_associator_; 60 SessionModelAssociator* session_model_associator_;
63 NotificationRegistrar notification_registrar_; 61 NotificationRegistrar notification_registrar_;
64 62
65 // Owner of the SessionService. Non-NULL iff |running()| is true. 63 // Owner of the SessionService. Non-NULL iff |running()| is true.
66 Profile* profile_; 64 Profile* profile_;
67 65
68 DISALLOW_COPY_AND_ASSIGN(SessionChangeProcessor); 66 DISALLOW_COPY_AND_ASSIGN(SessionChangeProcessor);
69 }; 67 };
70 68
71 } // namespace browser_sync 69 } // namespace browser_sync
72 70
73 #endif // CHROME_BROWSER_SYNC_GLUE_SESSION_CHANGE_PROCESSOR_H_ 71 #endif // CHROME_BROWSER_SYNC_GLUE_SESSION_CHANGE_PROCESSOR_H_
74
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/autofill_change_processor.cc ('k') | chrome/browser/sync/glue/session_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698