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

Side by Side Diff: chrome/utility/chrome_content_utility_client.h

Issue 8423003: Enable experimental permissions for extensions from the store. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows compile warning Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CHROME_CONTENT_UTILITY_CLIENT_H_ 5 #ifndef CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
6 #define CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ 6 #define CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 30 matching lines...) Expand all
41 ChromeContentUtilityClient(); 41 ChromeContentUtilityClient();
42 ~ChromeContentUtilityClient(); 42 ~ChromeContentUtilityClient();
43 43
44 virtual void UtilityThreadStarted() OVERRIDE; 44 virtual void UtilityThreadStarted() OVERRIDE;
45 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 45 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
46 46
47 private: 47 private:
48 virtual bool Send(IPC::Message* message); 48 virtual bool Send(IPC::Message* message);
49 49
50 // IPC message handlers. 50 // IPC message handlers.
51 void OnUnpackExtension(const FilePath& extension_path); 51 void OnUnpackExtension(const FilePath& extension_path,
52 int location, int creation_flags);
52 void OnUnpackWebResource(const std::string& resource_data); 53 void OnUnpackWebResource(const std::string& resource_data);
53 void OnParseUpdateManifest(const std::string& xml); 54 void OnParseUpdateManifest(const std::string& xml);
54 void OnDecodeImage(const std::vector<unsigned char>& encoded_data); 55 void OnDecodeImage(const std::vector<unsigned char>& encoded_data);
55 void OnDecodeImageBase64(const std::string& encoded_data); 56 void OnDecodeImageBase64(const std::string& encoded_data);
56 void OnRenderPDFPagesToMetafile( 57 void OnRenderPDFPagesToMetafile(
57 base::PlatformFile pdf_file, 58 base::PlatformFile pdf_file,
58 const FilePath& metafile_path, 59 const FilePath& metafile_path,
59 const printing::PdfRenderSettings& pdf_render_settings, 60 const printing::PdfRenderSettings& pdf_render_settings,
60 const std::vector<printing::PageRange>& page_ranges); 61 const std::vector<printing::PageRange>& page_ranges);
61 void OnParseJSON(const std::string& json); 62 void OnParseJSON(const std::string& json);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // A bitmask of importer::ImportItem. 97 // A bitmask of importer::ImportItem.
97 uint16 items_to_import_; 98 uint16 items_to_import_;
98 99
99 // Importer of the appropriate type (Firefox, Safari, IE, etc.) 100 // Importer of the appropriate type (Firefox, Safari, IE, etc.)
100 scoped_refptr<Importer> importer_; 101 scoped_refptr<Importer> importer_;
101 }; 102 };
102 103
103 } // namespace chrome 104 } // namespace chrome
104 105
105 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ 106 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/test/data/extensions/experimental.crx ('k') | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698