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

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

Issue 19224002: Get rid of single process code path in json_asynchronous_unpacker.cc. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: move web_resource_unpacker Created 7 years, 5 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/json/json_reader.h" 10 #include "base/json/json_reader.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "chrome/common/chrome_utility_messages.h" 12 #include "chrome/common/chrome_utility_messages.h"
13 #include "chrome/common/extensions/chrome_manifest_handlers.h" 13 #include "chrome/common/extensions/chrome_manifest_handlers.h"
14 #include "chrome/common/extensions/extension.h" 14 #include "chrome/common/extensions/extension.h"
15 #include "chrome/common/extensions/extension_l10n_util.h" 15 #include "chrome/common/extensions/extension_l10n_util.h"
16 #include "chrome/common/extensions/manifest.h" 16 #include "chrome/common/extensions/manifest.h"
17 #include "chrome/common/extensions/permissions/chrome_api_permissions.h" 17 #include "chrome/common/extensions/permissions/chrome_api_permissions.h"
18 #include "chrome/common/extensions/update_manifest.h" 18 #include "chrome/common/extensions/update_manifest.h"
19 #include "chrome/common/safe_browsing/zip_analyzer.h" 19 #include "chrome/common/safe_browsing/zip_analyzer.h"
20 #include "chrome/common/web_resource/web_resource_unpacker.h"
21 #include "chrome/utility/extensions/unpacker.h" 20 #include "chrome/utility/extensions/unpacker.h"
22 #include "chrome/utility/profile_import_handler.h" 21 #include "chrome/utility/profile_import_handler.h"
22 #include "chrome/utility/web_resource_unpacker.h"
23 #include "content/public/child/image_decoder_utils.h" 23 #include "content/public/child/image_decoder_utils.h"
24 #include "content/public/utility/utility_thread.h" 24 #include "content/public/utility/utility_thread.h"
25 #include "printing/page_range.h" 25 #include "printing/page_range.h"
26 #include "third_party/skia/include/core/SkBitmap.h" 26 #include "third_party/skia/include/core/SkBitmap.h"
27 #include "third_party/zlib/google/zip.h" 27 #include "third_party/zlib/google/zip.h"
28 #include "ui/base/ui_base_switches.h" 28 #include "ui/base/ui_base_switches.h"
29 #include "ui/gfx/codec/jpeg_codec.h" 29 #include "ui/gfx/codec/jpeg_codec.h"
30 #include "ui/gfx/rect.h" 30 #include "ui/gfx/rect.h"
31 #include "ui/gfx/size.h" 31 #include "ui/gfx/size.h"
32 32
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 bool parse_success = reader.Init(); 543 bool parse_success = reader.Init();
544 Send(new ChromeUtilityHostMsg_ParsePicasaPMPDatabase_Finished( 544 Send(new ChromeUtilityHostMsg_ParsePicasaPMPDatabase_Finished(
545 parse_success, 545 parse_success,
546 reader.albums(), 546 reader.albums(),
547 reader.folders())); 547 reader.folders()));
548 ReleaseProcessIfNeeded(); 548 ReleaseProcessIfNeeded();
549 } 549 }
550 #endif // defined(OS_WIN) || defined(OS_MACOSX) 550 #endif // defined(OS_WIN) || defined(OS_MACOSX)
551 551
552 } // namespace chrome 552 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/web_resource/web_resource_unpacker.cc ('k') | chrome/utility/web_resource_unpacker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698