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 #include "chrome/browser/safe_browsing/client_side_detection_host.h" | 5 #include "chrome/browser/safe_browsing/client_side_detection_host.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "content/public/browser/resource_request_details.h" | 24 #include "content/public/browser/resource_request_details.h" |
25 #include "content/public/browser/browser_thread.h" | 25 #include "content/public/browser/browser_thread.h" |
26 #include "content/public/browser/navigation_controller.h" | 26 #include "content/public/browser/navigation_controller.h" |
27 #include "content/public/browser/navigation_details.h" | 27 #include "content/public/browser/navigation_details.h" |
28 #include "content/public/browser/navigation_entry.h" | 28 #include "content/public/browser/navigation_entry.h" |
29 #include "content/public/browser/notification_details.h" | 29 #include "content/public/browser/notification_details.h" |
30 #include "content/public/browser/notification_source.h" | 30 #include "content/public/browser/notification_source.h" |
31 #include "content/public/browser/notification_types.h" | 31 #include "content/public/browser/notification_types.h" |
32 #include "content/public/browser/render_process_host.h" | 32 #include "content/public/browser/render_process_host.h" |
33 #include "content/public/browser/render_view_host.h" | 33 #include "content/public/browser/render_view_host.h" |
34 #include "content/public/browser/render_view_host_delegate.h" | |
35 #include "content/public/browser/web_contents.h" | 34 #include "content/public/browser/web_contents.h" |
36 #include "content/public/common/frame_navigate_params.h" | 35 #include "content/public/common/frame_navigate_params.h" |
37 #include "googleurl/src/gurl.h" | 36 #include "googleurl/src/gurl.h" |
38 | 37 |
39 using content::BrowserThread; | 38 using content::BrowserThread; |
40 using content::NavigationEntry; | 39 using content::NavigationEntry; |
41 using content::ResourceRequestDetails; | 40 using content::ResourceRequestDetails; |
42 using content::WebContents; | 41 using content::WebContents; |
43 | 42 |
44 namespace safe_browsing { | 43 namespace safe_browsing { |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 if (sb_service_) { | 473 if (sb_service_) { |
475 sb_service_->RemoveObserver(this); | 474 sb_service_->RemoveObserver(this); |
476 } | 475 } |
477 sb_service_ = service; | 476 sb_service_ = service; |
478 if (sb_service_) { | 477 if (sb_service_) { |
479 sb_service_->AddObserver(this); | 478 sb_service_->AddObserver(this); |
480 } | 479 } |
481 } | 480 } |
482 | 481 |
483 } // namespace safe_browsing | 482 } // namespace safe_browsing |
OLD | NEW |