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

Side by Side Diff: chrome/utility/image_writer/image_writer_handler.cc

Issue 345693002: Extensions: Split extensions utility IPC messages into its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable another test Created 6 years, 6 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
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 "chrome/utility/image_writer/image_writer_handler.h" 5 #include "chrome/utility/image_writer/image_writer_handler.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "chrome/common/chrome_utility_messages.h" 8 #include "chrome/common/extensions/chrome_utility_extensions_messages.h"
9 #include "chrome/utility/image_writer/error_messages.h" 9 #include "chrome/utility/image_writer/error_messages.h"
10 #include "content/public/utility/utility_thread.h" 10 #include "content/public/utility/utility_thread.h"
11 11
12 namespace image_writer { 12 namespace image_writer {
13 13
14 ImageWriterHandler::ImageWriterHandler() {} 14 ImageWriterHandler::ImageWriterHandler() {}
15 ImageWriterHandler::~ImageWriterHandler() {} 15 ImageWriterHandler::~ImageWriterHandler() {}
16 16
17 void ImageWriterHandler::SendSucceeded() { 17 void ImageWriterHandler::SendSucceeded() {
18 Send(new ChromeUtilityHostMsg_ImageWriter_Succeeded()); 18 Send(new ChromeUtilityHostMsg_ImageWriter_Succeeded());
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 void ImageWriterHandler::OnCancel() { 92 void ImageWriterHandler::OnCancel() {
93 if (image_writer_.get()) { 93 if (image_writer_.get()) {
94 image_writer_->Cancel(); 94 image_writer_->Cancel();
95 } else { 95 } else {
96 SendCancelled(); 96 SendCancelled();
97 } 97 }
98 } 98 }
99 99
100 } // namespace image_writer 100 } // namespace image_writer
OLDNEW
« no previous file with comments | « chrome/utility/extensions/extensions_handler.cc ('k') | chrome/utility/media_galleries/ipc_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698