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

Side by Side Diff: chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 years, 7 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/location.h" 6 #include "base/location.h"
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "base/thread_task_runner_handle.h" 8 #include "base/threading/thread_task_runner_handle.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/extensions/api/image_writer_private/image_writer_utilit y_client.h" 11 #include "chrome/browser/extensions/api/image_writer_private/image_writer_utilit y_client.h"
12 #include "chrome/common/extensions/chrome_utility_extensions_messages.h" 12 #include "chrome/common/extensions/chrome_utility_extensions_messages.h"
13 #include "chrome/grit/generated_resources.h" 13 #include "chrome/grit/generated_resources.h"
14 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
15 #include "ui/base/l10n/l10n_util.h" 15 #include "ui/base/l10n/l10n_util.h"
16 16
17 using content::BrowserThread; 17 using content::BrowserThread;
18 18
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 if (!error_callback_.is_null()) { 160 if (!error_callback_.is_null()) {
161 task_runner_->PostTask(FROM_HERE, base::Bind(error_callback_, message)); 161 task_runner_->PostTask(FROM_HERE, base::Bind(error_callback_, message));
162 } 162 }
163 } 163 }
164 164
165 void ImageWriterUtilityClient::OnWriteImageProgress(int64_t progress) { 165 void ImageWriterUtilityClient::OnWriteImageProgress(int64_t progress) {
166 if (!progress_callback_.is_null()) { 166 if (!progress_callback_.is_null()) {
167 task_runner_->PostTask(FROM_HERE, base::Bind(progress_callback_, progress)); 167 task_runner_->PostTask(FROM_HERE, base::Bind(progress_callback_, progress));
168 } 168 }
169 } 169 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698