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

Side by Side Diff: extensions/browser/file_highlighter.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 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FILE_HIGHLIGHTER_H_ 5 #ifndef EXTENSIONS_BROWSER_FILE_HIGHLIGHTER_H_
6 #define EXTENSIONS_BROWSER_FILE_HIGHLIGHTER_H_ 6 #define EXTENSIONS_BROWSER_FILE_HIGHLIGHTER_H_
7 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "base/basictypes.h" 12 #include "base/macros.h"
11 13
12 namespace base { 14 namespace base {
13 class DictionaryValue; 15 class DictionaryValue;
14 } 16 }
15 17
16 namespace extensions { 18 namespace extensions {
17 19
18 // The FileHighlighter class is used in order to isolate and highlight a portion 20 // The FileHighlighter class is used in order to isolate and highlight a portion
19 // of a given file (in string form). The Highlighter will split the source into 21 // of a given file (in string form). The Highlighter will split the source into
20 // three portions: the portion before the highlighted feature, the highlighted 22 // three portions: the portion before the highlighted feature, the highlighted
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // Called from the constructor; determine the bounds of the line in the source 105 // Called from the constructor; determine the bounds of the line in the source
104 // file. 106 // file.
105 void Parse(size_t line_number); 107 void Parse(size_t line_number);
106 108
107 DISALLOW_COPY_AND_ASSIGN(SourceHighlighter); 109 DISALLOW_COPY_AND_ASSIGN(SourceHighlighter);
108 }; 110 };
109 111
110 } // namespace extensions 112 } // namespace extensions
111 113
112 #endif // EXTENSIONS_BROWSER_FILE_HIGHLIGHTER_H_ 114 #endif // EXTENSIONS_BROWSER_FILE_HIGHLIGHTER_H_
OLDNEW
« no previous file with comments | « extensions/browser/extensions_browser_client.cc ('k') | extensions/browser/guest_view/app_view/app_view_guest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698