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

Side by Side Diff: chrome/browser/ui/tab_contents/tab_contents_wrapper_synced_tab_delegate.cc

Issue 7633029: Remove extension.h #include from profile.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit_tests. Created 9 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 (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 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper_synced_tab_delegat e.h" 5 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper_synced_tab_delegat e.h"
6 6
7 #include "content/browser/tab_contents/navigation_controller.h" 7 #include "content/browser/tab_contents/navigation_controller.h"
8 #include "content/browser/tab_contents/tab_contents.h" 8 #include "content/browser/tab_contents/tab_contents.h"
9 #include "chrome/browser/extensions/extension_tab_helper.h" 9 #include "chrome/browser/extensions/extension_tab_helper.h"
10 #include "chrome/browser/sessions/restore_tab_helper.h" 10 #include "chrome/browser/sessions/restore_tab_helper.h"
11 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 11 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
12 #include "chrome/common/extensions/extension.h"
12 13
13 14
14 TabContentsWrapperSyncedTabDelegate::TabContentsWrapperSyncedTabDelegate( 15 TabContentsWrapperSyncedTabDelegate::TabContentsWrapperSyncedTabDelegate(
15 TabContentsWrapper* tab_contents_wrapper) 16 TabContentsWrapper* tab_contents_wrapper)
16 : tab_contents_wrapper_(tab_contents_wrapper) {} 17 : tab_contents_wrapper_(tab_contents_wrapper) {}
17 18
18 TabContentsWrapperSyncedTabDelegate::~TabContentsWrapperSyncedTabDelegate() {} 19 TabContentsWrapperSyncedTabDelegate::~TabContentsWrapperSyncedTabDelegate() {}
19 20
20 SessionID::id_type TabContentsWrapperSyncedTabDelegate::GetWindowId() const { 21 SessionID::id_type TabContentsWrapperSyncedTabDelegate::GetWindowId() const {
21 return tab_contents_wrapper_->restore_tab_helper()->window_id().id(); 22 return tab_contents_wrapper_->restore_tab_helper()->window_id().id();
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 } 62 }
62 63
63 NavigationEntry* TabContentsWrapperSyncedTabDelegate::GetEntryAtIndex(int i) 64 NavigationEntry* TabContentsWrapperSyncedTabDelegate::GetEntryAtIndex(int i)
64 const { 65 const {
65 return tab_contents_wrapper_->controller().GetEntryAtIndex(i); 66 return tab_contents_wrapper_->controller().GetEntryAtIndex(i);
66 } 67 }
67 68
68 NavigationEntry* TabContentsWrapperSyncedTabDelegate::GetActiveEntry() const { 69 NavigationEntry* TabContentsWrapperSyncedTabDelegate::GetActiveEntry() const {
69 return tab_contents_wrapper_->controller().GetActiveEntry(); 70 return tab_contents_wrapper_->controller().GetActiveEntry();
70 } 71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698