| OLD | NEW | 
|   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 #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  |   7  | 
|   8 #include "base/memory/scoped_ptr.h" |   8 #include "base/memory/scoped_ptr.h" | 
|   9 #include "chrome/browser/prefs/pref_change_registrar.h" |   9 #include "chrome/browser/api/prefs/pref_change_registrar.h" | 
|  10 #include "content/public/browser/notification_observer.h" |  10 #include "content/public/browser/notification_observer.h" | 
|  11  |  11  | 
|  12 class TabContents; |  12 class TabContents; | 
|  13  |  13  | 
|  14 namespace safe_browsing { |  14 namespace safe_browsing { | 
|  15  |  15  | 
|  16 class ClientSideDetectionHost; |  16 class ClientSideDetectionHost; | 
|  17  |  17  | 
|  18 // Per-tab class to handle safe-browsing functionality. |  18 // Per-tab class to handle safe-browsing functionality. | 
|  19 class SafeBrowsingTabObserver : public content::NotificationObserver { |  19 class SafeBrowsingTabObserver : public content::NotificationObserver { | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
|  40   TabContents* tab_contents_; |  40   TabContents* tab_contents_; | 
|  41  |  41  | 
|  42   PrefChangeRegistrar pref_change_registrar_; |  42   PrefChangeRegistrar pref_change_registrar_; | 
|  43  |  43  | 
|  44   DISALLOW_COPY_AND_ASSIGN(SafeBrowsingTabObserver); |  44   DISALLOW_COPY_AND_ASSIGN(SafeBrowsingTabObserver); | 
|  45 }; |  45 }; | 
|  46  |  46  | 
|  47 }  // namespace safe_browsing |  47 }  // namespace safe_browsing | 
|  48  |  48  | 
|  49 #endif  // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_TAB_OBSERVER_H_ |  49 #endif  // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_TAB_OBSERVER_H_ | 
| OLD | NEW |