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

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

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 <string.h>
6
5 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
6 #include "chrome/browser/extensions/api/image_writer_private/destroy_partitions_ operation.h" 8 #include "chrome/browser/extensions/api/image_writer_private/destroy_partitions_ operation.h"
7 #include "chrome/browser/extensions/api/image_writer_private/error_messages.h" 9 #include "chrome/browser/extensions/api/image_writer_private/error_messages.h"
8 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
9 11
10 namespace extensions { 12 namespace extensions {
11 namespace image_writer { 13 namespace image_writer {
12 14
13 // Number of bytes for the maximum partition table size. GUID partition tables 15 // Number of bytes for the maximum partition table size. GUID partition tables
14 // reside in the second sector of the disk. Disks can have up to 4k sectors. 16 // reside in the second sector of the disk. Disks can have up to 4k sectors.
(...skipping 26 matching lines...) Expand all
41 content::BrowserThread::PostTask( 43 content::BrowserThread::PostTask(
42 content::BrowserThread::FILE, 44 content::BrowserThread::FILE,
43 FROM_HERE, 45 FROM_HERE,
44 base::Bind(&DestroyPartitionsOperation::Write, 46 base::Bind(&DestroyPartitionsOperation::Write,
45 this, 47 this,
46 base::Bind(&DestroyPartitionsOperation::Finish, this))); 48 base::Bind(&DestroyPartitionsOperation::Finish, this)));
47 } 49 }
48 50
49 } // namespace image_writer 51 } // namespace image_writer
50 } // namespace extensions 52 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/errorpage_browsertest.cc ('k') | chrome/browser/extensions/api/image_writer_private/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698