summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete.h
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-06 03:28:20 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-06 03:28:20 +0000
commit08ffa6bd4032c34c135d23b47276c0a83ab34f76 (patch)
tree3e5cd86f532dc04214b70ed10886c5cb16b3aeb7 /chrome/browser/autocomplete/autocomplete.h
parenta5971dc68d14d4cb063c10138133483a14cd7530 (diff)
downloadchromium_src-08ffa6bd4032c34c135d23b47276c0a83ab34f76.zip
chromium_src-08ffa6bd4032c34c135d23b47276c0a83ab34f76.tar.gz
chromium_src-08ffa6bd4032c34c135d23b47276c0a83ab34f76.tar.bz2
Rever r31175 r31176 r31187
XP tests are failing, the guess is r31175 and r31176. TBR=beng TEST=XP tests go green Review URL: http://codereview.chromium.org/376008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31201 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete.h')
-rw-r--r--chrome/browser/autocomplete/autocomplete.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/autocomplete/autocomplete.h b/chrome/browser/autocomplete/autocomplete.h
index 0193b8c..0416328 100644
--- a/chrome/browser/autocomplete/autocomplete.h
+++ b/chrome/browser/autocomplete/autocomplete.h
@@ -483,6 +483,8 @@ class AutocompleteProvider
name_(name) {
}
+ virtual ~AutocompleteProvider();
+
// Invoked when the profile changes.
// NOTE: Do not access any previous Profile* at this point as it may have
// already been deleted.
@@ -536,10 +538,6 @@ class AutocompleteProvider
static size_t max_matches() { return max_matches_; }
protected:
- friend class base::RefCountedThreadSafe<AutocompleteProvider>;
-
- virtual ~AutocompleteProvider();
-
// Trims "http:" and up to two subsequent slashes from |url|. Returns the
// number of characters that were trimmed.
static size_t TrimHttpPrefix(std::wstring* url);