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

Side by Side Diff: extensions/browser/error_map.h

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
« no previous file with comments | « extensions/browser/declarative_user_script_master.h ('k') | extensions/browser/error_map.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef EXTENSIONS_BROWSER_ERROR_MAP_H_ 5 #ifndef EXTENSIONS_BROWSER_ERROR_MAP_H_
6 #define EXTENSIONS_BROWSER_ERROR_MAP_H_ 6 #define EXTENSIONS_BROWSER_ERROR_MAP_H_
7 7
8 #include <stddef.h>
9
8 #include <deque> 10 #include <deque>
9 #include <map> 11 #include <map>
10 #include <set> 12 #include <set>
11 #include <string> 13 #include <string>
12 14
13 #include "base/basictypes.h" 15 #include "base/macros.h"
14 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
15 #include "extensions/browser/extension_error.h" 17 #include "extensions/browser/extension_error.h"
16 18
17 namespace extensions { 19 namespace extensions {
18 20
19 typedef std::deque<const ExtensionError*> ErrorList; 21 typedef std::deque<const ExtensionError*> ErrorList;
20 22
21 // An ErrorMap is responsible for storing Extension-related errors, keyed by 23 // An ErrorMap is responsible for storing Extension-related errors, keyed by
22 // Extension ID. The errors are owned by the ErrorMap, and are deleted upon 24 // Extension ID. The errors are owned by the ErrorMap, and are deleted upon
23 // destruction. 25 // destruction.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 80
79 // The mapping between Extension IDs and their corresponding Entries. 81 // The mapping between Extension IDs and their corresponding Entries.
80 EntryMap map_; 82 EntryMap map_;
81 83
82 DISALLOW_COPY_AND_ASSIGN(ErrorMap); 84 DISALLOW_COPY_AND_ASSIGN(ErrorMap);
83 }; 85 };
84 86
85 } // namespace extensions 87 } // namespace extensions
86 88
87 #endif // EXTENSIONS_BROWSER_ERROR_MAP_H_ 89 #endif // EXTENSIONS_BROWSER_ERROR_MAP_H_
OLDNEW
« no previous file with comments | « extensions/browser/declarative_user_script_master.h ('k') | extensions/browser/error_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698