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

Side by Side Diff: chrome/browser/utility_process_host.cc

Issue 6263008: Move ResourceBundle, DataPack to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « chrome/browser/ui/views/wrench_menu.cc ('k') | chrome/common/badge_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/browser/utility_process_host.h" 5 #include "chrome/browser/utility_process_host.h"
6 6
7 #include "app/app_switches.h" 7 #include "app/app_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/browser/browser_process.h" 12 #include "chrome/browser/browser_process.h"
13 #include "chrome/common/chrome_switches.h" 13 #include "chrome/common/chrome_switches.h"
14 #include "chrome/common/indexed_db_key.h" 14 #include "chrome/common/indexed_db_key.h"
15 #include "chrome/common/utility_messages.h" 15 #include "chrome/common/utility_messages.h"
16 #include "ipc/ipc_switches.h" 16 #include "ipc/ipc_switches.h"
17 #include "third_party/skia/include/core/SkBitmap.h" 17 #include "third_party/skia/include/core/SkBitmap.h"
18 #include "ui/base/ui_base_switches.h"
18 19
19 UtilityProcessHost::UtilityProcessHost(ResourceDispatcherHost* rdh, 20 UtilityProcessHost::UtilityProcessHost(ResourceDispatcherHost* rdh,
20 Client* client, 21 Client* client,
21 BrowserThread::ID client_thread_id) 22 BrowserThread::ID client_thread_id)
22 : BrowserChildProcessHost(UTILITY_PROCESS, rdh), 23 : BrowserChildProcessHost(UTILITY_PROCESS, rdh),
23 client_(client), 24 client_(client),
24 client_thread_id_(client_thread_id), 25 client_thread_id_(client_thread_id),
25 is_batch_mode_(false) { 26 is_batch_mode_(false) {
26 } 27 }
27 28
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 IPC_MESSAGE_HANDLER(UtilityHostMsg_DecodeImage_Failed, 192 IPC_MESSAGE_HANDLER(UtilityHostMsg_DecodeImage_Failed,
192 Client::OnDecodeImageFailed) 193 Client::OnDecodeImageFailed)
193 IPC_MESSAGE_HANDLER(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Succeeded, 194 IPC_MESSAGE_HANDLER(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Succeeded,
194 Client::OnIDBKeysFromValuesAndKeyPathSucceeded) 195 Client::OnIDBKeysFromValuesAndKeyPathSucceeded)
195 IPC_MESSAGE_HANDLER(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Failed, 196 IPC_MESSAGE_HANDLER(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Failed,
196 Client::OnIDBKeysFromValuesAndKeyPathFailed) 197 Client::OnIDBKeysFromValuesAndKeyPathFailed)
197 IPC_MESSAGE_UNHANDLED(handled = false) 198 IPC_MESSAGE_UNHANDLED(handled = false)
198 IPC_END_MESSAGE_MAP_EX() 199 IPC_END_MESSAGE_MAP_EX()
199 return handled; 200 return handled;
200 } 201 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/wrench_menu.cc ('k') | chrome/common/badge_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698