OLD | NEW |
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 #pragma once | |
8 | 7 |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "content/renderer/android/content_detector.h" | 9 #include "content/renderer/android/content_detector.h" |
11 | 10 |
12 class EmailDetectorTest; | 11 class EmailDetectorTest; |
13 | 12 |
14 namespace content { | 13 namespace content { |
15 | 14 |
16 // Finds email addresses (in most common formats, but not including special | 15 // Finds email addresses (in most common formats, but not including special |
17 // characters) in the given text string. | 16 // characters) in the given text string. |
(...skipping 12 matching lines...) Expand all Loading... |
30 std::string* content_text) OVERRIDE; | 29 std::string* content_text) OVERRIDE; |
31 virtual GURL GetIntentURL(const std::string& content_text) OVERRIDE; | 30 virtual GURL GetIntentURL(const std::string& content_text) OVERRIDE; |
32 virtual size_t GetMaximumContentLength() OVERRIDE; | 31 virtual size_t GetMaximumContentLength() OVERRIDE; |
33 | 32 |
34 DISALLOW_COPY_AND_ASSIGN(EmailDetector); | 33 DISALLOW_COPY_AND_ASSIGN(EmailDetector); |
35 }; | 34 }; |
36 | 35 |
37 } // namespace content | 36 } // namespace content |
38 | 37 |
39 #endif // CONTENT_RENDERER_ANDROID_EMAIL_DETECTOR_H_ | 38 #endif // CONTENT_RENDERER_ANDROID_EMAIL_DETECTOR_H_ |
OLD | NEW |