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

Side by Side Diff: extensions/browser/api/storage/storage_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 5 years 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 "extensions/browser/api/storage/storage_api.h" 5 #include "extensions/browser/api/storage/storage_api.h"
6 6
7 #include <stddef.h>
8
7 #include <string> 9 #include <string>
8 #include <utility> 10 #include <utility>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/bind.h" 13 #include "base/bind.h"
12 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
13 #include "base/values.h" 15 #include "base/values.h"
14 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
15 #include "extensions/browser/api/storage/storage_frontend.h" 17 #include "extensions/browser/api/storage/storage_frontend.h"
16 #include "extensions/browser/quota_service.h" 18 #include "extensions/browser/quota_service.h"
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 StorageStorageAreaClearFunction::RunWithStorage(ValueStore* storage) { 266 StorageStorageAreaClearFunction::RunWithStorage(ValueStore* storage) {
265 return UseWriteResult(storage->Clear()); 267 return UseWriteResult(storage->Clear());
266 } 268 }
267 269
268 void StorageStorageAreaClearFunction::GetQuotaLimitHeuristics( 270 void StorageStorageAreaClearFunction::GetQuotaLimitHeuristics(
269 QuotaLimitHeuristics* heuristics) const { 271 QuotaLimitHeuristics* heuristics) const {
270 GetModificationQuotaLimitHeuristics(heuristics); 272 GetModificationQuotaLimitHeuristics(heuristics);
271 } 273 }
272 274
273 } // namespace extensions 275 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/api/storage/settings_storage_quota_enforcer.h ('k') | extensions/browser/api/storage/storage_frontend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698