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

Side by Side Diff: chrome/utility/extensions/extensions_handler.h

Issue 865543002: WIP: Browser image decoding using Mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup and add DecodeImageBase64. Created 5 years, 11 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
OLDNEW
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 #ifndef CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_ 5 #ifndef CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_
6 #define CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_ 6 #define CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_
7 7
8 #include "base/base64.h" 8 #include "base/base64.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 22 matching lines...) Expand all
33 33
34 // UtilityMessageHandler: 34 // UtilityMessageHandler:
35 bool OnMessageReceived(const IPC::Message& message) override; 35 bool OnMessageReceived(const IPC::Message& message) override;
36 36
37 private: 37 private:
38 // IPC message handlers. 38 // IPC message handlers.
39 void OnUnpackExtension(const base::FilePath& extension_path, 39 void OnUnpackExtension(const base::FilePath& extension_path,
40 const std::string& extension_id, 40 const std::string& extension_id,
41 int location, int creation_flags); 41 int location, int creation_flags);
42 void OnUnzipToDir(const base::FilePath& zip_path, const base::FilePath& dir); 42 void OnUnzipToDir(const base::FilePath& zip_path, const base::FilePath& dir);
43 void OnDecodeImageBase64(const std::string& encoded_data);
44 void OnCheckMediaFile(int64 milliseconds_of_decoding, 43 void OnCheckMediaFile(int64 milliseconds_of_decoding,
45 const IPC::PlatformFileForTransit& media_file); 44 const IPC::PlatformFileForTransit& media_file);
46 45
47 #if defined(OS_WIN) 46 #if defined(OS_WIN)
48 void OnParseITunesPrefXml(const std::string& itunes_xml_data); 47 void OnParseITunesPrefXml(const std::string& itunes_xml_data);
49 #endif // defined(OS_WIN) 48 #endif // defined(OS_WIN)
50 49
51 #if defined(OS_MACOSX) 50 #if defined(OS_MACOSX)
52 void OnParseIPhotoLibraryXmlFile( 51 void OnParseIPhotoLibraryXmlFile(
53 const IPC::PlatformFileForTransit& iphoto_library_file); 52 const IPC::PlatformFileForTransit& iphoto_library_file);
(...skipping 16 matching lines...) Expand all
70 #endif // defined(OS_WIN) 69 #endif // defined(OS_WIN)
71 70
72 UtilityHandler utility_handler_; 71 UtilityHandler utility_handler_;
73 72
74 DISALLOW_COPY_AND_ASSIGN(ExtensionsHandler); 73 DISALLOW_COPY_AND_ASSIGN(ExtensionsHandler);
75 }; 74 };
76 75
77 } // namespace extensions 76 } // namespace extensions
78 77
79 #endif // CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_ 78 #endif // CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/utility/chrome_content_utility_client.cc ('k') | chrome/utility/extensions/extensions_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698