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

Unified Diff: android_webview/native/address_parser.h

Issue 2863233002: [WebView] Move files from native to browser (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/native/address_parser.h
diff --git a/android_webview/native/address_parser.h b/android_webview/native/address_parser.h
deleted file mode 100644
index 43fdc391063596d9371cf21a8669168e17d6a48f..0000000000000000000000000000000000000000
--- a/android_webview/native/address_parser.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ANDROID_WEBVIEW_NATIVE_ADDRESS_PARSER_H_
-#define ANDROID_WEBVIEW_NATIVE_ADDRESS_PARSER_H_
-
-#include <stddef.h>
-
-#include "base/strings/string16.h"
-
-namespace android_webview {
-
-// Provides methods to find a geographical address (currently US only)
-// in a given text string.
-namespace address_parser {
-
-// Find the first address in some chunk of text. If an address is found in
-// |text| true is returned and the address is copied into |address|.
-// Otherwise, false is returned.
-bool FindAddress(const base::string16& text, base::string16* address);
-
-// Find the first address in some chunk of test. |begin| is the starting
-// position to search from, |end| is the position to search to. |start_pos|
-// and |end_pos| are set to the starting and ending position of the address,
-// if found.
-bool FindAddress(const base::string16::const_iterator& begin,
- const base::string16::const_iterator& end,
- size_t* start_pos,
- size_t* end_pos);
-
-} // namespace address_parser
-
-} // namespace android_webview
-
-#endif // ANDROID_WEBVIEW_NATIVE_ADDRESS_PARSER_H_

Powered by Google App Engine
This is Rietveld 408576698