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

Side by Side Diff: chrome/browser/sync/open_tabs_ui_delegate.h

Issue 480883002: Move session_id.{cc,h} from chrome/browser/sessions to components/sessions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_OPEN_TABS_UI_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_SYNC_OPEN_TABS_UI_DELEGATE_H_
6 #define CHROME_BROWSER_SYNC_OPEN_TABS_UI_DELEGATE_H_ 6 #define CHROME_BROWSER_SYNC_OPEN_TABS_UI_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/ref_counted_memory.h" 13 #include "base/memory/ref_counted_memory.h"
14 #include "chrome/browser/sessions/session_id.h"
15 #include "chrome/browser/sessions/session_types.h" 14 #include "chrome/browser/sessions/session_types.h"
16 #include "chrome/browser/sync/glue/synced_session.h" 15 #include "chrome/browser/sync/glue/synced_session.h"
16 #include "components/sessions/session_id.h"
17 17
18 namespace browser_sync { 18 namespace browser_sync {
19 19
20 class OpenTabsUIDelegate { 20 class OpenTabsUIDelegate {
21 public: 21 public:
22 // If a valid favicon for the page at |url| is found, fills |favicon_png| with 22 // If a valid favicon for the page at |url| is found, fills |favicon_png| with
23 // the png-encoded image and returns true. Else, returns false. 23 // the png-encoded image and returns true. Else, returns false.
24 virtual bool GetSyncedFaviconForPageURL( 24 virtual bool GetSyncedFaviconForPageURL(
25 const std::string& pageurl, 25 const std::string& pageurl,
26 scoped_refptr<base::RefCountedMemory>* favicon_png) const = 0; 26 scoped_refptr<base::RefCountedMemory>* favicon_png) const = 0;
(...skipping 25 matching lines...) Expand all
52 // local machine. 52 // local machine.
53 virtual bool GetLocalSession(const SyncedSession** local) = 0; 53 virtual bool GetLocalSession(const SyncedSession** local) = 0;
54 54
55 protected: 55 protected:
56 virtual ~OpenTabsUIDelegate(); 56 virtual ~OpenTabsUIDelegate();
57 }; 57 };
58 58
59 } // namespace browser_sync 59 } // namespace browser_sync
60 60
61 #endif // CHROME_BROWSER_SYNC_OPEN_TABS_UI_DELEGATE_H_ 61 #endif // CHROME_BROWSER_SYNC_OPEN_TABS_UI_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/synced_window_delegate_android.h ('k') | chrome/browser/sync/sessions/sessions_sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698