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

Side by Side Diff: chrome/browser/chromeos/file_manager/zip_file_creator.h

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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) 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 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_ZIP_FILE_CREATOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_ZIP_FILE_CREATOR_H_
6 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_ZIP_FILE_CREATOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_ZIP_FILE_CREATOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/platform_file.h" 12 #include "base/platform_file.h"
13 #include "chrome/common/extensions/extension.h"
14 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
15 #include "content/public/browser/utility_process_host_client.h" 14 #include "content/public/browser/utility_process_host_client.h"
15 #include "extensions/common/extension.h"
16 16
17 namespace file_manager { 17 namespace file_manager {
18 18
19 // ZipFileCreator creates a ZIP file from a specified list of files and 19 // ZipFileCreator creates a ZIP file from a specified list of files and
20 // directories under a common parent directory. This is done in a sandboxed 20 // directories under a common parent directory. This is done in a sandboxed
21 // subprocess to protect the browser process from handling arbitrary input data 21 // subprocess to protect the browser process from handling arbitrary input data
22 // from untrusted sources. 22 // from untrusted sources.
23 // 23 //
24 // Lifetime management: 24 // Lifetime management:
25 // 25 //
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // The output zip file. 84 // The output zip file.
85 base::FilePath dest_file_; 85 base::FilePath dest_file_;
86 86
87 // Whether we've received a response from the utility process yet. 87 // Whether we've received a response from the utility process yet.
88 bool got_response_; 88 bool got_response_;
89 }; 89 };
90 90
91 } // namespace file_manager 91 } // namespace file_manager
92 92
93 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_ZIP_FILE_CREATOR_H_ 93 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_ZIP_FILE_CREATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698