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

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

Issue 16421003: [Sync] Add logic to reassociate tab nodes after restart. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit. Created 7 years, 6 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_SYNCED_TAB_DELEGATE_H__ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__
6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 // Managed user related methods. 48 // Managed user related methods.
49 49
50 virtual bool ProfileIsManaged() const = 0; 50 virtual bool ProfileIsManaged() const = 0;
51 virtual const std::vector<const content::NavigationEntry*>* 51 virtual const std::vector<const content::NavigationEntry*>*
52 GetBlockedNavigations() const = 0; 52 GetBlockedNavigations() const = 0;
53 53
54 virtual bool IsPinned() const = 0; 54 virtual bool IsPinned() const = 0;
55 virtual bool HasWebContents() const = 0; 55 virtual bool HasWebContents() const = 0;
56 56
57 // Session sync related methods.
58 virtual int64 GetSyncId() const = 0;
59 virtual void SetSyncId(int64 sync_id) = 0;
57 // Returns the SyncedTabDelegate associated with WebContents. 60 // Returns the SyncedTabDelegate associated with WebContents.
58 static SyncedTabDelegate* ImplFromWebContents( 61 static SyncedTabDelegate* ImplFromWebContents(
59 content::WebContents* web_contents); 62 content::WebContents* web_contents);
60 }; 63 };
61 64
62 } // namespace browser_sync 65 } // namespace browser_sync
63 66
64 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ 67 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/session_model_associator_unittest.cc ('k') | chrome/browser/sync/glue/synced_tab_delegate_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698