blob: 4209820a8e04d391628da7ffb5b68decbce6c675 [file] [log] [blame]
// Copyright 2018 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.
class GURL;
namespace signin {
// Given an image URL this function builds a new URL, appending passed
// |image_size| and |no_silhouette| parameters. |old_url| must be valid.
// For example, if |image_size| was set to 256, |no_silhouette| was set to
// true and |old_url| was either:
// or
// then return value would be:
GURL GetAvatarImageURLWithOptions(const GURL& old_url,
int image_size,
bool no_silhouette);
} // namespace signin