| 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 19 matching lines...) Expand all Loading... |
| 30 #include "chrome/common/pref_names.h" | 30 #include "chrome/common/pref_names.h" |
| 31 #include "content/public/browser/browser_thread.h" | 31 #include "content/public/browser/browser_thread.h" |
| 32 #include "content/public/browser/notification_details.h" | 32 #include "content/public/browser/notification_details.h" |
| 33 #include "content/public/browser/notification_observer.h" | 33 #include "content/public/browser/notification_observer.h" |
| 34 #include "content/public/browser/notification_registrar.h" | 34 #include "content/public/browser/notification_registrar.h" |
| 35 #include "content/public/browser/notification_source.h" | 35 #include "content/public/browser/notification_source.h" |
| 36 #include "content/public/browser/notification_types.h" | 36 #include "content/public/browser/notification_types.h" |
| 37 #include "content/public/browser/render_process_host.h" | 37 #include "content/public/browser/render_process_host.h" |
| 38 #include "content/public/browser/render_view_host.h" | 38 #include "content/public/browser/render_view_host.h" |
| 39 #include "content/public/browser/web_contents.h" | 39 #include "content/public/browser/web_contents.h" |
| 40 #include "webkit/browser/fileapi/isolated_context.h" |
| 40 #include "webkit/fileapi/file_system_types.h" | 41 #include "webkit/fileapi/file_system_types.h" |
| 41 #include "webkit/fileapi/isolated_context.h" | |
| 42 | 42 |
| 43 using content::BrowserThread; | 43 using content::BrowserThread; |
| 44 using content::NavigationController; | 44 using content::NavigationController; |
| 45 using content::RenderProcessHost; | 45 using content::RenderProcessHost; |
| 46 using content::WebContents; | 46 using content::WebContents; |
| 47 using fileapi::IsolatedContext; | 47 using fileapi::IsolatedContext; |
| 48 | 48 |
| 49 namespace chrome { | 49 namespace chrome { |
| 50 | 50 |
| 51 namespace { | 51 namespace { |
| (...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 740 // previously used. | 740 // previously used. |
| 741 PrefChangeRegistrarMap::iterator pref_it = | 741 PrefChangeRegistrarMap::iterator pref_it = |
| 742 pref_change_registrar_map_.find(profile); | 742 pref_change_registrar_map_.find(profile); |
| 743 DCHECK(pref_it != pref_change_registrar_map_.end()); | 743 DCHECK(pref_it != pref_change_registrar_map_.end()); |
| 744 delete pref_it->second; | 744 delete pref_it->second; |
| 745 pref_change_registrar_map_.erase(pref_it); | 745 pref_change_registrar_map_.erase(pref_it); |
| 746 } | 746 } |
| 747 } | 747 } |
| 748 | 748 |
| 749 } // namespace chrome | 749 } // namespace chrome |
| OLD | NEW |