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

Side by Side Diff: chrome/browser/ui/browser_tab_restore_service_delegate.h

Issue 8533030: Cleanup: Remove forward declarations in various chrome/browser directories. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/browser_navigator_browsertest.h ('k') | chrome/browser/ui/browser_window.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UI_BROWSER_TAB_RESTORE_SERVICE_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_TAB_RESTORE_SERVICE_DELEGATE_H_
6 #define CHROME_BROWSER_UI_BROWSER_TAB_RESTORE_SERVICE_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_BROWSER_TAB_RESTORE_SERVICE_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "chrome/browser/sessions/tab_restore_service_delegate.h" 12 #include "chrome/browser/sessions/tab_restore_service_delegate.h"
13 13
14 class Browser; 14 class Browser;
15 class Profile;
16 class SessionStorageNamespace; 15 class SessionStorageNamespace;
17 class TabContents; 16 class TabContents;
18 class TabNavigation; 17 class TabNavigation;
19 18
20 // Implementation of TabRestoreServiceDelegate which uses an instance of 19 // Implementation of TabRestoreServiceDelegate which uses an instance of
21 // Browser in order to fulfil its duties. 20 // Browser in order to fulfil its duties.
22 class BrowserTabRestoreServiceDelegate : public TabRestoreServiceDelegate { 21 class BrowserTabRestoreServiceDelegate : public TabRestoreServiceDelegate {
23 public: 22 public:
24 explicit BrowserTabRestoreServiceDelegate(Browser* browser) 23 explicit BrowserTabRestoreServiceDelegate(Browser* browser)
25 : browser_(browser) {} 24 : browser_(browser) {}
(...skipping 24 matching lines...) Expand all
50 SessionStorageNamespace* session_storage_namespace) OVERRIDE; 49 SessionStorageNamespace* session_storage_namespace) OVERRIDE;
51 virtual void CloseTab() OVERRIDE; 50 virtual void CloseTab() OVERRIDE;
52 51
53 private: 52 private:
54 Browser* browser_; 53 Browser* browser_;
55 54
56 DISALLOW_COPY_AND_ASSIGN(BrowserTabRestoreServiceDelegate); 55 DISALLOW_COPY_AND_ASSIGN(BrowserTabRestoreServiceDelegate);
57 }; 56 };
58 57
59 #endif // CHROME_BROWSER_UI_BROWSER_TAB_RESTORE_SERVICE_DELEGATE_H_ 58 #endif // CHROME_BROWSER_UI_BROWSER_TAB_RESTORE_SERVICE_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_navigator_browsertest.h ('k') | chrome/browser/ui/browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698