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

Side by Side Diff: extensions/browser/warning_set.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/warning_set.h" 5 #include "extensions/browser/warning_set.h"
6 6
7 #include <stddef.h>
8
7 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
8 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
9 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
10 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
11 #include "extensions/common/extension.h" 13 #include "extensions/common/extension.h"
12 #include "extensions/common/extension_set.h" 14 #include "extensions/common/extension_set.h"
13 #include "extensions/common/extensions_client.h" 15 #include "extensions/common/extensions_client.h"
14 #include "extensions/strings/grit/extensions_strings.h" 16 #include "extensions/strings/grit/extensions_strings.h"
15 #include "net/base/escape.h" 17 #include "net/base/escape.h"
16 #include "ui/base/l10n/l10n_util.h" 18 #include "ui/base/l10n/l10n_util.h"
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 } 228 }
227 } 229 }
228 230
229 bool operator<(const Warning& a, const Warning& b) { 231 bool operator<(const Warning& a, const Warning& b) {
230 if (a.extension_id() != b.extension_id()) 232 if (a.extension_id() != b.extension_id())
231 return a.extension_id() < b.extension_id(); 233 return a.extension_id() < b.extension_id();
232 return a.warning_type() < b.warning_type(); 234 return a.warning_type() < b.warning_type();
233 } 235 }
234 236
235 } // namespace extensions 237 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/warning_service_factory.h ('k') | extensions/browser/web_ui_user_script_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698