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

Side by Side Diff: chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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
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 #include "chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h" 5 #include "chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h"
6 6
7 #include "base/memory/ref_counted.h" 7 #include "base/memory/ref_counted.h"
8 #include "chrome/browser/extensions/tab_helper.h" 8 #include "chrome/browser/extensions/tab_helper.h"
9 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/sessions/session_tab_helper.h" 10 #include "chrome/browser/sessions/session_tab_helper.h"
11 #include "chrome/browser/sync/glue/synced_window_delegate.h" 11 #include "chrome/browser/sync/glue/synced_window_delegate.h"
12 #include "chrome/common/extensions/extension.h"
13 #include "content/public/browser/navigation_controller.h" 12 #include "content/public/browser/navigation_controller.h"
14 #include "content/public/browser/navigation_entry.h" 13 #include "content/public/browser/navigation_entry.h"
15 #include "content/public/browser/web_contents.h" 14 #include "content/public/browser/web_contents.h"
15 #include "extensions/common/extension.h"
16 16
17 #if defined(ENABLE_MANAGED_USERS) 17 #if defined(ENABLE_MANAGED_USERS)
18 #include "chrome/browser/managed_mode/managed_mode_navigation_observer.h" 18 #include "chrome/browser/managed_mode/managed_mode_navigation_observer.h"
19 #endif 19 #endif
20 20
21 using content::NavigationEntry; 21 using content::NavigationEntry;
22 22
23 DEFINE_WEB_CONTENTS_USER_DATA_KEY(TabContentsSyncedTabDelegate); 23 DEFINE_WEB_CONTENTS_USER_DATA_KEY(TabContentsSyncedTabDelegate);
24 24
25 TabContentsSyncedTabDelegate::TabContentsSyncedTabDelegate( 25 TabContentsSyncedTabDelegate::TabContentsSyncedTabDelegate(
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 return web_contents_; 105 return web_contents_;
106 } 106 }
107 107
108 int TabContentsSyncedTabDelegate::GetSyncId() const { 108 int TabContentsSyncedTabDelegate::GetSyncId() const {
109 return sync_session_id_; 109 return sync_session_id_;
110 } 110 }
111 111
112 void TabContentsSyncedTabDelegate::SetSyncId(int sync_id) { 112 void TabContentsSyncedTabDelegate::SetSyncId(int sync_id) {
113 sync_session_id_ = sync_id; 113 sync_session_id_ = sync_id;
114 } 114 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc ('k') | chrome/browser/ui/tabs/pinned_tab_codec.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698