Commit b424ebc2 authored by Viet-Trung Luu's avatar Viet-Trung Luu

Update virtual/final usage in url/.

BUG=417463
R=brettw@chromium.org

Review URL: https://codereview.chromium.org/658563010

Cr-Commit-Position: refs/heads/master@{#300620}
parent b9cc2b26
......@@ -24,11 +24,11 @@ class URL_EXPORT ICUCharsetConverter : public CharsetConverter {
// be managed by the creator such that it is alive as long as this is.
ICUCharsetConverter(UConverter* converter);
virtual ~ICUCharsetConverter();
~ICUCharsetConverter() override;
virtual void ConvertFromUTF16(const base::char16* input,
int input_len,
CanonOutput* output) override;
void ConvertFromUTF16(const base::char16* input,
int input_len,
CanonOutput* output) override;
private:
// The ICU converter, not owned by this class.
......
......@@ -36,12 +36,12 @@ namespace url {
class URL_EXPORT StdStringCanonOutput : public CanonOutput {
public:
StdStringCanonOutput(std::string* str);
virtual ~StdStringCanonOutput();
~StdStringCanonOutput() override;
// Must be called after writing has completed but before the string is used.
void Complete();
virtual void Resize(int sz) override;
void Resize(int sz) override;
protected:
std::string* str_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment