| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // Web progress notifier implementation. | 5 // Web progress notifier implementation. |
| 6 #include "ceee/ie/plugin/bho/web_progress_notifier.h" | 6 #include "ceee/ie/plugin/bho/web_progress_notifier.h" |
| 7 | 7 |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
| 10 #include "ceee/common/com_utils.h" | 10 #include "ceee/common/com_utils.h" |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 } | 332 } |
| 333 } | 333 } |
| 334 } | 334 } |
| 335 | 335 |
| 336 WebNavigationEventsFunnel* WebProgressNotifier::webnavigation_events_funnel() { | 336 WebNavigationEventsFunnel* WebProgressNotifier::webnavigation_events_funnel() { |
| 337 return webnavigation_events_funnel_.get(); | 337 return webnavigation_events_funnel_.get(); |
| 338 } | 338 } |
| 339 | 339 |
| 340 WebRequestNotifier* WebProgressNotifier::webrequest_notifier() { | 340 WebRequestNotifier* WebProgressNotifier::webrequest_notifier() { |
| 341 if (cached_webrequest_notifier_ == NULL) { | 341 if (cached_webrequest_notifier_ == NULL) { |
| 342 cached_webrequest_notifier_ = ProductionWebRequestNotifier::get(); | 342 cached_webrequest_notifier_ = ProductionWebRequestNotifier::GetInstance(); |
| 343 } | 343 } |
| 344 return cached_webrequest_notifier_; | 344 return cached_webrequest_notifier_; |
| 345 } | 345 } |
| 346 | 346 |
| 347 WindowMessageSource* WebProgressNotifier::CreateWindowMessageSource() { | 347 WindowMessageSource* WebProgressNotifier::CreateWindowMessageSource() { |
| 348 scoped_ptr<WindowMessageSource> source(new WindowMessageSource()); | 348 scoped_ptr<WindowMessageSource> source(new WindowMessageSource()); |
| 349 | 349 |
| 350 return source->Initialize() ? source.release() : NULL; | 350 return source->Initialize() ? source.release() : NULL; |
| 351 } | 351 } |
| 352 | 352 |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 684 break; | 684 break; |
| 685 } | 685 } |
| 686 default: { | 686 default: { |
| 687 NOTREACHED() << "Unknown state type."; | 687 NOTREACHED() << "Unknown state type."; |
| 688 break; | 688 break; |
| 689 } | 689 } |
| 690 } | 690 } |
| 691 } | 691 } |
| 692 return false; | 692 return false; |
| 693 } | 693 } |
| OLD | NEW |