| 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/managed_mode.h" | 5 #include "chrome/browser/managed_mode/managed_mode.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "chrome/browser/browser_process.h" | 8 #include "chrome/browser/browser_process.h" |
| 9 #include "chrome/browser/extensions/extension_service.h" | 9 #include "chrome/browser/extensions/extension_service.h" |
| 10 #include "chrome/browser/extensions/extension_system.h" | 10 #include "chrome/browser/extensions/extension_system.h" |
| 11 #include "chrome/browser/managed_mode_url_filter.h" | 11 #include "chrome/browser/managed_mode/managed_mode_url_filter.h" |
| 12 #include "chrome/browser/prefs/pref_service.h" | 12 #include "chrome/browser/prefs/pref_service.h" |
| 13 #include "chrome/browser/profiles/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
| 14 #include "chrome/browser/ui/browser.h" | 14 #include "chrome/browser/ui/browser.h" |
| 15 #include "chrome/browser/ui/browser_list.h" | 15 #include "chrome/browser/ui/browser_list.h" |
| 16 #include "chrome/browser/ui/browser_window.h" | 16 #include "chrome/browser/ui/browser_window.h" |
| 17 #include "chrome/common/chrome_notification_types.h" | 17 #include "chrome/common/chrome_notification_types.h" |
| 18 #include "chrome/common/chrome_switches.h" | 18 #include "chrome/common/chrome_switches.h" |
| 19 #include "chrome/common/pref_names.h" | 19 #include "chrome/common/pref_names.h" |
| 20 #include "content/public/browser/browser_thread.h" | 20 #include "content/public/browser/browser_thread.h" |
| 21 #include "content/public/browser/notification_service.h" | 21 #include "content/public/browser/notification_service.h" |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 content::NotificationService::current()->Notify( | 333 content::NotificationService::current()->Notify( |
| 334 chrome::NOTIFICATION_PROFILE_CACHED_INFO_CHANGED, | 334 chrome::NOTIFICATION_PROFILE_CACHED_INFO_CHANGED, |
| 335 content::NotificationService::AllBrowserContextsAndSources(), | 335 content::NotificationService::AllBrowserContextsAndSources(), |
| 336 content::NotificationService::NoDetails()); | 336 content::NotificationService::NoDetails()); |
| 337 } | 337 } |
| 338 | 338 |
| 339 void ManagedMode::UpdateWhitelist() { | 339 void ManagedMode::UpdateWhitelist() { |
| 340 DCHECK(managed_profile_); | 340 DCHECK(managed_profile_); |
| 341 // TODO(bauerb): Update URL filter with whitelist. | 341 // TODO(bauerb): Update URL filter with whitelist. |
| 342 } | 342 } |
| OLD | NEW |