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

Side by Side Diff: chrome/browser/safe_browsing/safe_browsing_tab_observer.h

Issue 10528002: TabContentsWrapper -> TabContents, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
« no previous file with comments | « chrome/browser/printing/print_view_manager.h ('k') | chrome/browser/sessions/session_service.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_SAFE_BROWSING_SAFE_BROWSING_TAB_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_TAB_OBSERVER_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_TAB_OBSERVER_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_TAB_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/prefs/pref_change_registrar.h" 10 #include "chrome/browser/prefs/pref_change_registrar.h"
11 #include "content/public/browser/notification_observer.h" 11 #include "content/public/browser/notification_observer.h"
12 12
13 class TabContentsWrapper; 13 class TabContents;
14 typedef TabContents TabContentsWrapper;
14 15
15 namespace safe_browsing { 16 namespace safe_browsing {
16 17
17 class ClientSideDetectionHost; 18 class ClientSideDetectionHost;
18 19
19 // Per-tab class to handle safe-browsing functionality. 20 // Per-tab class to handle safe-browsing functionality.
20 class SafeBrowsingTabObserver : public content::NotificationObserver { 21 class SafeBrowsingTabObserver : public content::NotificationObserver {
21 public: 22 public:
22 explicit SafeBrowsingTabObserver(TabContentsWrapper* wrapper); 23 explicit SafeBrowsingTabObserver(TabContentsWrapper* wrapper);
23 virtual ~SafeBrowsingTabObserver(); 24 virtual ~SafeBrowsingTabObserver();
(...skipping 17 matching lines...) Expand all
41 TabContentsWrapper* wrapper_; 42 TabContentsWrapper* wrapper_;
42 43
43 PrefChangeRegistrar pref_change_registrar_; 44 PrefChangeRegistrar pref_change_registrar_;
44 45
45 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingTabObserver); 46 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingTabObserver);
46 }; 47 };
47 48
48 } // namespace safe_browsing 49 } // namespace safe_browsing
49 50
50 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_TAB_OBSERVER_H_ 51 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_TAB_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_view_manager.h ('k') | chrome/browser/sessions/session_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698