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

Side by Side Diff: components/component_updater/component_patcher.cc

Issue 590333002: Replace usage of basictypes.h with a combination of stdint.h and base/macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 6 years, 3 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 "components/component_updater/component_patcher.h" 5 #include "components/component_updater/component_patcher.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h"
11 #include "base/bind.h" 10 #include "base/bind.h"
12 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
13 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
14 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
15 #include "base/json/json_file_value_serializer.h" 14 #include "base/json/json_file_value_serializer.h"
16 #include "base/location.h" 15 #include "base/location.h"
17 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
18 #include "base/values.h" 17 #include "base/values.h"
19 #include "components/component_updater/component_patcher_operation.h" 18 #include "components/component_updater/component_patcher_operation.h"
20 #include "components/component_updater/component_updater_service.h" 19 #include "components/component_updater/component_updater_service.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 116
118 void ComponentPatcher::DonePatching(ComponentUnpacker::Error error, 117 void ComponentPatcher::DonePatching(ComponentUnpacker::Error error,
119 int extended_error) { 118 int extended_error) {
120 current_operation_ = NULL; 119 current_operation_ = NULL;
121 task_runner_->PostTask(FROM_HERE, 120 task_runner_->PostTask(FROM_HERE,
122 base::Bind(callback_, error, extended_error)); 121 base::Bind(callback_, error, extended_error));
123 callback_.Reset(); 122 callback_.Reset();
124 } 123 }
125 124
126 } // namespace component_updater 125 } // namespace component_updater
OLDNEW
« no previous file with comments | « components/component_updater/component_patcher.h ('k') | components/component_updater/component_patcher_operation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698