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

Side by Side Diff: content/renderer/android/email_detector.h

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 #ifndef CONTENT_RENDERER_ANDROID_EMAIL_DETECTOR_H_ 5 #ifndef CONTENT_RENDERER_ANDROID_EMAIL_DETECTOR_H_
6 #define CONTENT_RENDERER_ANDROID_EMAIL_DETECTOR_H_ 6 #define CONTENT_RENDERER_ANDROID_EMAIL_DETECTOR_H_
7 7
8 #include <stddef.h>
9
8 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h"
9 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
10 #include "content/renderer/android/content_detector.h" 13 #include "content/renderer/android/content_detector.h"
11 14
12 namespace content { 15 namespace content {
13 16
14 class EmailDetectorTest; 17 class EmailDetectorTest;
15 18
16 // Finds email addresses (in most common formats, but not including special 19 // Finds email addresses (in most common formats, but not including special
17 // characters) in the given text string. 20 // characters) in the given text string.
18 class CONTENT_EXPORT EmailDetector : public ContentDetector { 21 class CONTENT_EXPORT EmailDetector : public ContentDetector {
(...skipping 11 matching lines...) Expand all
30 std::string* content_text) override; 33 std::string* content_text) override;
31 GURL GetIntentURL(const std::string& content_text) override; 34 GURL GetIntentURL(const std::string& content_text) override;
32 size_t GetMaximumContentLength() override; 35 size_t GetMaximumContentLength() override;
33 36
34 DISALLOW_COPY_AND_ASSIGN(EmailDetector); 37 DISALLOW_COPY_AND_ASSIGN(EmailDetector);
35 }; 38 };
36 39
37 } // namespace content 40 } // namespace content
38 41
39 #endif // CONTENT_RENDERER_ANDROID_EMAIL_DETECTOR_H_ 42 #endif // CONTENT_RENDERER_ANDROID_EMAIL_DETECTOR_H_
OLDNEW
« no previous file with comments | « content/renderer/android/content_detector.h ('k') | content/renderer/android/email_detector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698