Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Side by Side Diff: chrome/browser/media_galleries/media_file_system_registry.cc

Issue 15658004: Split FileAPI code for common|common_child|renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 22 matching lines...) Expand all
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/browser/fileapi/isolated_context.h"
43 #include "webkit/fileapi/file_system_types.h" 43 #include "webkit/common/fileapi/file_system_types.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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698