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

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

Issue 13257004: [components] Make zip a component so that src/chromeos can use it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 #include "chrome/utility/chrome_content_utility_client.h" 5 #include "chrome/utility/chrome_content_utility_client.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 14 matching lines...) Expand all
25 #include "chrome/common/extensions/api/themes/theme_handler.h" 25 #include "chrome/common/extensions/api/themes/theme_handler.h"
26 #include "chrome/common/extensions/background_info.h" 26 #include "chrome/common/extensions/background_info.h"
27 #include "chrome/common/extensions/extension.h" 27 #include "chrome/common/extensions/extension.h"
28 #include "chrome/common/extensions/extension_l10n_util.h" 28 #include "chrome/common/extensions/extension_l10n_util.h"
29 #include "chrome/common/extensions/incognito_handler.h" 29 #include "chrome/common/extensions/incognito_handler.h"
30 #include "chrome/common/extensions/manifest.h" 30 #include "chrome/common/extensions/manifest.h"
31 #include "chrome/common/extensions/unpacker.h" 31 #include "chrome/common/extensions/unpacker.h"
32 #include "chrome/common/extensions/update_manifest.h" 32 #include "chrome/common/extensions/update_manifest.h"
33 #include "chrome/common/safe_browsing/zip_analyzer.h" 33 #include "chrome/common/safe_browsing/zip_analyzer.h"
34 #include "chrome/common/web_resource/web_resource_unpacker.h" 34 #include "chrome/common/web_resource/web_resource_unpacker.h"
35 #include "chrome/common/zip.h"
36 #include "chrome/utility/profile_import_handler.h" 35 #include "chrome/utility/profile_import_handler.h"
36 #include "components/zip/zip.h"
37 #include "content/public/utility/utility_thread.h" 37 #include "content/public/utility/utility_thread.h"
38 #include "printing/backend/print_backend.h" 38 #include "printing/backend/print_backend.h"
39 #include "printing/page_range.h" 39 #include "printing/page_range.h"
40 #include "third_party/skia/include/core/SkBitmap.h" 40 #include "third_party/skia/include/core/SkBitmap.h"
41 #include "ui/base/ui_base_switches.h" 41 #include "ui/base/ui_base_switches.h"
42 #include "ui/gfx/codec/jpeg_codec.h" 42 #include "ui/gfx/codec/jpeg_codec.h"
43 #include "ui/gfx/rect.h" 43 #include "ui/gfx/rect.h"
44 #include "webkit/glue/image_decoder.h" 44 #include "webkit/glue/image_decoder.h"
45 45
46 #if defined(OS_WIN) 46 #if defined(OS_WIN)
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 IPC::PlatformFileForTransit zip_file) { 487 IPC::PlatformFileForTransit zip_file) {
488 safe_browsing::zip_analyzer::Results results; 488 safe_browsing::zip_analyzer::Results results;
489 safe_browsing::zip_analyzer::AnalyzeZipFile( 489 safe_browsing::zip_analyzer::AnalyzeZipFile(
490 IPC::PlatformFileForTransitToPlatformFile(zip_file), &results); 490 IPC::PlatformFileForTransitToPlatformFile(zip_file), &results);
491 Send(new ChromeUtilityHostMsg_AnalyzeZipFileForDownloadProtection_Finished( 491 Send(new ChromeUtilityHostMsg_AnalyzeZipFileForDownloadProtection_Finished(
492 results)); 492 results));
493 content::UtilityThread::Get()->ReleaseProcessIfNeeded(); 493 content::UtilityThread::Get()->ReleaseProcessIfNeeded();
494 } 494 }
495 495
496 } // namespace chrome 496 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698