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

Side by Side Diff: chrome/browser/android/webapps/add_to_homescreen_manager.cc

Issue 2691263002: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/android/webapps/add_to_homescreen_manager.h" 5 #include "chrome/browser/android/webapps/add_to_homescreen_manager.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_string.h" 8 #include "base/android/jni_string.h"
9 #include "base/guid.h" 9 #include "base/guid.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "base/threading/sequenced_worker_pool.h"
15 #include "chrome/browser/android/banners/app_banner_infobar_delegate_android.h" 14 #include "chrome/browser/android/banners/app_banner_infobar_delegate_android.h"
16 #include "chrome/browser/android/shortcut_helper.h" 15 #include "chrome/browser/android/shortcut_helper.h"
17 #include "chrome/browser/android/webapk/chrome_webapk_host.h" 16 #include "chrome/browser/android/webapk/chrome_webapk_host.h"
18 #include "chrome/browser/android/webapk/webapk_install_service.h" 17 #include "chrome/browser/android/webapk/webapk_install_service.h"
19 #include "chrome/browser/android/webapk/webapk_metrics.h" 18 #include "chrome/browser/android/webapk/webapk_metrics.h"
20 #include "chrome/browser/banners/app_banner_settings_helper.h" 19 #include "chrome/browser/banners/app_banner_settings_helper.h"
21 #include "chrome/browser/installable/installable_manager.h" 20 #include "chrome/browser/installable/installable_manager.h"
22 #include "content/public/browser/browser_thread.h" 21 #include "content/public/browser/browser_thread.h"
23 #include "content/public/browser/render_frame_host.h" 22 #include "content/public/browser/render_frame_host.h"
24 #include "content/public/browser/web_contents.h" 23 #include "content/public/browser/web_contents.h"
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 199
201 SkBitmap AddToHomescreenManager::FinalizeLauncherIconInBackground( 200 SkBitmap AddToHomescreenManager::FinalizeLauncherIconInBackground(
202 const SkBitmap& bitmap, 201 const SkBitmap& bitmap,
203 const GURL& url, 202 const GURL& url,
204 bool* is_generated) { 203 bool* is_generated) {
205 DCHECK(content::BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread()); 204 DCHECK(content::BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread());
206 205
207 return ShortcutHelper::FinalizeLauncherIconInBackground(bitmap, url, 206 return ShortcutHelper::FinalizeLauncherIconInBackground(bitmap, url,
208 is_generated); 207 is_generated);
209 } 208 }
OLDNEW
« no previous file with comments | « chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc ('k') | chrome/browser/apps/drive/drive_service_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698