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

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

Issue 3297011: Removes indexed_db_param_traits.h depedencies on WebKit headers. (Closed)
Patch Set: Comments Created 10 years, 3 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
« no previous file with comments | « chrome/common/utility_messages_internal.h ('k') | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/utility_thread.h" 5 #include "chrome/utility/utility_thread.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
11 #include "base/iat_patch.h" 11 #include "base/iat_patch.h"
12 #endif 12 #endif
13 #include "base/path_service.h" 13 #include "base/path_service.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "chrome/common/child_process.h" 15 #include "chrome/common/child_process.h"
16 #include "chrome/common/chrome_paths.h" 16 #include "chrome/common/chrome_paths.h"
17 #include "chrome/common/extensions/extension_unpacker.h" 17 #include "chrome/common/extensions/extension_unpacker.h"
18 #include "chrome/common/extensions/update_manifest.h" 18 #include "chrome/common/extensions/update_manifest.h"
19 #include "chrome/common/indexed_db_key.h" 19 #include "chrome/common/indexed_db_key.h"
20 #include "chrome/common/serialized_script_value.h"
20 #include "chrome/common/utility_messages.h" 21 #include "chrome/common/utility_messages.h"
21 #include "chrome/common/web_resource/web_resource_unpacker.h" 22 #include "chrome/common/web_resource/web_resource_unpacker.h"
22 #include "gfx/rect.h" 23 #include "gfx/rect.h"
23 #include "printing/native_metafile.h" 24 #include "printing/native_metafile.h"
24 #include "printing/page_range.h" 25 #include "printing/page_range.h"
25 #include "printing/units.h" 26 #include "printing/units.h"
26 #include "third_party/skia/include/core/SkBitmap.h" 27 #include "third_party/skia/include/core/SkBitmap.h"
27 #include "webkit/glue/idb_bindings.h" 28 #include "webkit/glue/idb_bindings.h"
28 #include "webkit/glue/image_decoder.h" 29 #include "webkit/glue/image_decoder.h"
29 #include "third_party/WebKit/WebKit/chromium/public/WebSerializedScriptValue.h" 30 #include "third_party/WebKit/WebKit/chromium/public/WebSerializedScriptValue.h"
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 } 299 }
299 300
300 void UtilityThread::OnBatchModeFinished() { 301 void UtilityThread::OnBatchModeFinished() {
301 ChildProcess::current()->ReleaseProcess(); 302 ChildProcess::current()->ReleaseProcess();
302 } 303 }
303 304
304 void UtilityThread::ReleaseProcessIfNeeded() { 305 void UtilityThread::ReleaseProcessIfNeeded() {
305 if (!batch_mode_) 306 if (!batch_mode_)
306 ChildProcess::current()->ReleaseProcess(); 307 ChildProcess::current()->ReleaseProcess();
307 } 308 }
OLDNEW
« no previous file with comments | « chrome/common/utility_messages_internal.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698