OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/media_galleries/fileapi/safe_media_metadata_parser.h" | 5 #include "chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h" |
6 | 6 |
7 #include "chrome/browser/extensions/blob_reader.h" | 7 #include "chrome/browser/extensions/blob_reader.h" |
8 #include "chrome/common/chrome_utility_messages.h" | 8 #include "chrome/common/extensions/chrome_utility_extensions_messages.h" |
9 #include "content/public/browser/browser_thread.h" | 9 #include "content/public/browser/browser_thread.h" |
10 #include "content/public/browser/child_process_data.h" | 10 #include "content/public/browser/child_process_data.h" |
11 #include "content/public/browser/utility_process_host.h" | 11 #include "content/public/browser/utility_process_host.h" |
12 | 12 |
13 using content::BrowserThread; | 13 using content::BrowserThread; |
14 | 14 |
15 namespace metadata { | 15 namespace metadata { |
16 | 16 |
17 SafeMediaMetadataParser::SafeMediaMetadataParser( | 17 SafeMediaMetadataParser::SafeMediaMetadataParser( |
18 Profile* profile, const std::string& blob_uuid, int64 blob_size, | 18 Profile* profile, const std::string& blob_uuid, int64 blob_size, |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 OnParseMediaMetadataFinished) | 143 OnParseMediaMetadataFinished) |
144 IPC_MESSAGE_HANDLER( | 144 IPC_MESSAGE_HANDLER( |
145 ChromeUtilityHostMsg_RequestBlobBytes, | 145 ChromeUtilityHostMsg_RequestBlobBytes, |
146 OnUtilityProcessRequestBlobBytes) | 146 OnUtilityProcessRequestBlobBytes) |
147 IPC_MESSAGE_UNHANDLED(handled = false) | 147 IPC_MESSAGE_UNHANDLED(handled = false) |
148 IPC_END_MESSAGE_MAP() | 148 IPC_END_MESSAGE_MAP() |
149 return handled; | 149 return handled; |
150 } | 150 } |
151 | 151 |
152 } // namespace metadata | 152 } // namespace metadata |
OLD | NEW |