summaryrefslogtreecommitdiffstats
path: root/chrome/common/content_settings_helper.h
blob: 58fb85e3bc5bff64ca535537379fcc11d0f22c83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2010 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.

#ifndef CHROME_COMMON_CONTENT_SETTINGS_HELPER_H_
#define CHROME_COMMON_CONTENT_SETTINGS_HELPER_H_
#pragma once

#include <string>

class GURL;

namespace content_settings_helper {

// Return simplified string representing origin. If origin is using http or
// the standard port, those parts are not included in the output.
std::wstring OriginToWString(const GURL& origin);

}  // namespace content_settings_helper

#endif  // CHROME_COMMON_CONTENT_SETTINGS_HELPER_H_