Make TemplateURLRefs take an owner TemplateURL* (which must not be NULL). This in turn allows us to avoid passing in TemplateURLs to a few other APIs, and will be critical later when adding Profile*s and keeping URL strings on the owner.
This also moves some definitions in template_url.cc around to match declaration order, and makes the TemplateURL::SupportsReplacement() family of functions non-static.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9930002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129864 0039d316-1c4b-4281-b951-d872f2087c98
16 files changed