| 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 // MediaFileSystemRegistry implementation. | 5 // MediaFileSystemRegistry implementation. |
| 6 | 6 |
| 7 #include "chrome/browser/media_galleries/media_file_system_registry.h" | 7 #include "chrome/browser/media_galleries/media_file_system_registry.h" |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 #include "chrome/common/pref_names.h" | 32 #include "chrome/common/pref_names.h" |
| 33 #include "content/public/browser/browser_thread.h" | 33 #include "content/public/browser/browser_thread.h" |
| 34 #include "content/public/browser/notification_details.h" | 34 #include "content/public/browser/notification_details.h" |
| 35 #include "content/public/browser/notification_observer.h" | 35 #include "content/public/browser/notification_observer.h" |
| 36 #include "content/public/browser/notification_registrar.h" | 36 #include "content/public/browser/notification_registrar.h" |
| 37 #include "content/public/browser/notification_source.h" | 37 #include "content/public/browser/notification_source.h" |
| 38 #include "content/public/browser/notification_types.h" | 38 #include "content/public/browser/notification_types.h" |
| 39 #include "content/public/browser/render_process_host.h" | 39 #include "content/public/browser/render_process_host.h" |
| 40 #include "content/public/browser/render_view_host.h" | 40 #include "content/public/browser/render_view_host.h" |
| 41 #include "content/public/browser/web_contents.h" | 41 #include "content/public/browser/web_contents.h" |
| 42 #include "webkit/browser/fileapi/isolated_context.h" |
| 42 #include "webkit/fileapi/file_system_types.h" | 43 #include "webkit/fileapi/file_system_types.h" |
| 43 #include "webkit/fileapi/isolated_context.h" | |
| 44 | 44 |
| 45 using content::BrowserThread; | 45 using content::BrowserThread; |
| 46 using content::NavigationController; | 46 using content::NavigationController; |
| 47 using content::RenderProcessHost; | 47 using content::RenderProcessHost; |
| 48 using content::WebContents; | 48 using content::WebContents; |
| 49 using fileapi::IsolatedContext; | 49 using fileapi::IsolatedContext; |
| 50 | 50 |
| 51 namespace chrome { | 51 namespace chrome { |
| 52 | 52 |
| 53 namespace { | 53 namespace { |
| (...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 730 // previously used. | 730 // previously used. |
| 731 PrefChangeRegistrarMap::iterator pref_it = | 731 PrefChangeRegistrarMap::iterator pref_it = |
| 732 pref_change_registrar_map_.find(profile); | 732 pref_change_registrar_map_.find(profile); |
| 733 DCHECK(pref_it != pref_change_registrar_map_.end()); | 733 DCHECK(pref_it != pref_change_registrar_map_.end()); |
| 734 delete pref_it->second; | 734 delete pref_it->second; |
| 735 pref_change_registrar_map_.erase(pref_it); | 735 pref_change_registrar_map_.erase(pref_it); |
| 736 } | 736 } |
| 737 } | 737 } |
| 738 | 738 |
| 739 } // namespace chrome | 739 } // namespace chrome |
| OLD | NEW |