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

Side by Side Diff: components/sync_driver/open_tabs_ui_delegate.h

Issue 1361613002: Move all core files in //components/sessions into core/ subdir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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
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 COMPONENTS_SYNC_DRIVER_OPEN_TABS_UI_DELEGATE_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_OPEN_TABS_UI_DELEGATE_H_
6 #define COMPONENTS_SYNC_DRIVER_OPEN_TABS_UI_DELEGATE_H_ 6 #define COMPONENTS_SYNC_DRIVER_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 "components/sessions/session_id.h" 14 #include "components/sessions/core/session_id.h"
15 #include "components/sessions/session_types.h" 15 #include "components/sessions/core/session_types.h"
16 #include "components/sync_driver/glue/synced_session.h" 16 #include "components/sync_driver/glue/synced_session.h"
17 17
18 namespace sync_driver { 18 namespace sync_driver {
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,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // local machine. 61 // local machine.
62 virtual bool GetLocalSession(const SyncedSession** local) = 0; 62 virtual bool GetLocalSession(const SyncedSession** local) = 0;
63 63
64 protected: 64 protected:
65 virtual ~OpenTabsUIDelegate(); 65 virtual ~OpenTabsUIDelegate();
66 }; 66 };
67 67
68 } // namespace sync_driver 68 } // namespace sync_driver
69 69
70 #endif // COMPONENTS_SYNC_DRIVER_OPEN_TABS_UI_DELEGATE_H_ 70 #endif // COMPONENTS_SYNC_DRIVER_OPEN_TABS_UI_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/sync_driver/glue/synced_window_delegate.h ('k') | components/sync_driver/revisit/current_tab_matcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698