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

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

Issue 228073005: Move core extensions l10n code to //extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/json/json_reader.h" 12 #include "base/json/json_reader.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/path_service.h" 14 #include "base/path_service.h"
15 #include "base/scoped_native_library.h" 15 #include "base/scoped_native_library.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 #include "chrome/common/chrome_paths.h" 17 #include "chrome/common/chrome_paths.h"
18 #include "chrome/common/chrome_utility_messages.h" 18 #include "chrome/common/chrome_utility_messages.h"
19 #include "chrome/common/extensions/chrome_extensions_client.h" 19 #include "chrome/common/extensions/chrome_extensions_client.h"
20 #include "chrome/common/extensions/extension_l10n_util.h"
21 #include "chrome/common/extensions/update_manifest.h" 20 #include "chrome/common/extensions/update_manifest.h"
22 #include "chrome/common/safe_browsing/zip_analyzer.h" 21 #include "chrome/common/safe_browsing/zip_analyzer.h"
23 #include "chrome/utility/chrome_content_utility_ipc_whitelist.h" 22 #include "chrome/utility/chrome_content_utility_ipc_whitelist.h"
24 #include "chrome/utility/cloud_print/bitmap_image.h" 23 #include "chrome/utility/cloud_print/bitmap_image.h"
25 #include "chrome/utility/cloud_print/pwg_encoder.h" 24 #include "chrome/utility/cloud_print/pwg_encoder.h"
26 #include "chrome/utility/extensions/unpacker.h" 25 #include "chrome/utility/extensions/unpacker.h"
27 #include "chrome/utility/image_writer/image_writer_handler.h" 26 #include "chrome/utility/image_writer/image_writer_handler.h"
28 #include "chrome/utility/profile_import_handler.h" 27 #include "chrome/utility/profile_import_handler.h"
29 #include "chrome/utility/web_resource_unpacker.h" 28 #include "chrome/utility/web_resource_unpacker.h"
30 #include "content/public/child/image_decoder_utils.h" 29 #include "content/public/child/image_decoder_utils.h"
31 #include "content/public/common/content_paths.h" 30 #include "content/public/common/content_paths.h"
32 #include "content/public/common/content_switches.h" 31 #include "content/public/common/content_switches.h"
33 #include "content/public/utility/utility_thread.h" 32 #include "content/public/utility/utility_thread.h"
34 #include "courgette/courgette.h" 33 #include "courgette/courgette.h"
35 #include "courgette/third_party/bsdiff.h" 34 #include "courgette/third_party/bsdiff.h"
36 #include "extensions/common/extension.h" 35 #include "extensions/common/extension.h"
36 #include "extensions/common/extension_l10n_util.h"
37 #include "extensions/common/manifest.h" 37 #include "extensions/common/manifest.h"
38 #include "media/base/media.h" 38 #include "media/base/media.h"
39 #include "media/base/media_file_checker.h" 39 #include "media/base/media_file_checker.h"
40 #include "printing/page_range.h" 40 #include "printing/page_range.h"
41 #include "printing/pdf_render_settings.h" 41 #include "printing/pdf_render_settings.h"
42 #include "third_party/skia/include/core/SkBitmap.h" 42 #include "third_party/skia/include/core/SkBitmap.h"
43 #include "third_party/zlib/google/zip.h" 43 #include "third_party/zlib/google/zip.h"
44 #include "ui/base/ui_base_switches.h" 44 #include "ui/base/ui_base_switches.h"
45 #include "ui/gfx/codec/jpeg_codec.h" 45 #include "ui/gfx/codec/jpeg_codec.h"
46 #include "ui/gfx/rect.h" 46 #include "ui/gfx/rect.h"
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
995 NetworkingPrivateCrypto crypto; 995 NetworkingPrivateCrypto crypto;
996 success = crypto.EncryptByteString(public_key, key_data, &ciphertext); 996 success = crypto.EncryptByteString(public_key, key_data, &ciphertext);
997 } 997 }
998 998
999 Send(new ChromeUtilityHostMsg_GotEncryptedWiFiCredentials(ciphertext, 999 Send(new ChromeUtilityHostMsg_GotEncryptedWiFiCredentials(ciphertext,
1000 success)); 1000 success));
1001 } 1001 }
1002 #endif // defined(OS_WIN) 1002 #endif // defined(OS_WIN)
1003 1003
1004 } // namespace chrome 1004 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698