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

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

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
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_PHONE_NUMBER_DETECTOR_H_ 5 #ifndef CONTENT_RENDERER_ANDROID_PHONE_NUMBER_DETECTOR_H_
6 #define CONTENT_RENDERER_ANDROID_PHONE_NUMBER_DETECTOR_H_ 6 #define CONTENT_RENDERER_ANDROID_PHONE_NUMBER_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 PhoneNumberDetectorTest; 11 class PhoneNumberDetectorTest;
13 12
14 namespace content { 13 namespace content {
15 14
16 // Finds a telephone number in the given content text string. 15 // Finds a telephone number in the given content text string.
17 class PhoneNumberDetector : public ContentDetector { 16 class PhoneNumberDetector : public ContentDetector {
(...skipping 15 matching lines...) Expand all
33 virtual size_t GetMaximumContentLength() OVERRIDE; 32 virtual size_t GetMaximumContentLength() OVERRIDE;
34 33
35 const std::string region_code_; 34 const std::string region_code_;
36 35
37 DISALLOW_COPY_AND_ASSIGN(PhoneNumberDetector); 36 DISALLOW_COPY_AND_ASSIGN(PhoneNumberDetector);
38 }; 37 };
39 38
40 } // namespace content 39 } // namespace content
41 40
42 #endif // CONTENT_RENDERER_ANDROID_PHONE_NUMBER_DETECTOR_H_ 41 #endif // CONTENT_RENDERER_ANDROID_PHONE_NUMBER_DETECTOR_H_
OLDNEW
« no previous file with comments | « content/renderer/android/email_detector.h ('k') | content/renderer/browser_plugin/old/browser_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698