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

Side by Side Diff: chrome/browser/chromeos/arc/print/arc_print_service.cc

Issue 2734733002: Revert "chromeos: Move files in //ash/common to //ash, part 3" (Closed)
Patch Set: Created 3 years, 9 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/chromeos/arc/print/arc_print_service.h" 5 #include "chrome/browser/chromeos/arc/print/arc_print_service.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/shell_delegate.h" 9 #include "ash/common/shell_delegate.h"
10 #include "ash/wm_shell.h" 10 #include "ash/common/wm_shell.h"
11 #include "base/files/file.h" 11 #include "base/files/file.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/optional.h" 14 #include "base/optional.h"
15 #include "base/threading/thread_checker.h" 15 #include "base/threading/thread_checker.h"
16 #include "components/arc/arc_bridge_service.h" 16 #include "components/arc/arc_bridge_service.h"
17 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
18 #include "mojo/edk/embedder/embedder.h" 18 #include "mojo/edk/embedder/embedder.h"
19 #include "net/base/filename_util.h" 19 #include "net/base/filename_util.h"
20 #include "url/gurl.h" 20 #include "url/gurl.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 } 87 }
88 88
89 base::File file(scoped_platform_handle.release().handle); 89 base::File file(scoped_platform_handle.release().handle);
90 90
91 content::BrowserThread::PostTaskAndReplyWithResult( 91 content::BrowserThread::PostTaskAndReplyWithResult(
92 content::BrowserThread::FILE, FROM_HERE, 92 content::BrowserThread::FILE, FROM_HERE,
93 base::Bind(&SavePdf, base::Passed(&file)), base::Bind(&OpenPdf)); 93 base::Bind(&SavePdf, base::Passed(&file)), base::Bind(&OpenPdf));
94 } 94 }
95 95
96 } // namespace arc 96 } // namespace arc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698