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

Side by Side Diff: extensions/browser/api/alarms/alarms_api.cc

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "extensions/browser/api/alarms/alarms_api.h" 5 #include "extensions/browser/api/alarms/alarms_api.h"
6 6
7 #include <stddef.h>
8
7 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
8 #include "base/time/clock.h" 10 #include "base/time/clock.h"
9 #include "base/time/default_clock.h" 11 #include "base/time/default_clock.h"
10 #include "base/values.h" 12 #include "base/values.h"
11 #include "extensions/browser/api/alarms/alarm_manager.h" 13 #include "extensions/browser/api/alarms/alarm_manager.h"
12 #include "extensions/common/api/alarms.h" 14 #include "extensions/common/api/alarms.h"
13 #include "extensions/common/error_utils.h" 15 #include "extensions/common/error_utils.h"
14 16
15 namespace extensions { 17 namespace extensions {
16 18
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 base::Bind(&AlarmsClearAllFunction::Callback, this)); 199 base::Bind(&AlarmsClearAllFunction::Callback, this));
198 return true; 200 return true;
199 } 201 }
200 202
201 void AlarmsClearAllFunction::Callback() { 203 void AlarmsClearAllFunction::Callback() {
202 SetResult(new base::FundamentalValue(true)); 204 SetResult(new base::FundamentalValue(true));
203 SendResponse(true); 205 SendResponse(true);
204 } 206 }
205 207
206 } // namespace extensions 208 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/api/alarms/alarm_manager.cc ('k') | extensions/browser/api/alarms/alarms_api_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698