summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete_edit.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-08 21:31:12 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-08 21:31:12 +0000
commite09f079d2a247ae24f52075bc8bcc446b2838ddf (patch)
treeec6225f1a76596d40b315897a2e804fff579ab4e /chrome/browser/autocomplete/autocomplete_edit.h
parentedbe8a4d27175be21a21cba4f77aeeb45e627db1 (diff)
downloadchromium_src-e09f079d2a247ae24f52075bc8bcc446b2838ddf.zip
chromium_src-e09f079d2a247ae24f52075bc8bcc446b2838ddf.tar.gz
chromium_src-e09f079d2a247ae24f52075bc8bcc446b2838ddf.tar.bz2
Remove frontend code that allows for dynamic profile setting, and read the profile off the browser where possible. This matches common practice and various invariants that expect profiles to be constant for the life of the browser.
BUG=none TEST=none Review URL: http://codereview.chromium.org/7574021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95889 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit.h')
-rw-r--r--chrome/browser/autocomplete/autocomplete_edit.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit.h b/chrome/browser/autocomplete/autocomplete_edit.h
index 5bd9ce2..44a65bf 100644
--- a/chrome/browser/autocomplete/autocomplete_edit.h
+++ b/chrome/browser/autocomplete/autocomplete_edit.h
@@ -119,9 +119,6 @@ class AutocompleteEditModel : public AutocompleteControllerDelegate {
AutocompleteEditController* controller() const { return controller_; }
- // Invoked when the profile has changed.
- void SetProfile(Profile* profile);
-
Profile* profile() const { return profile_; }
// Returns the current state. This assumes we are switching tabs, and changes