Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / chrome / common / content_settings_helper.h
blob8c017c8540c1a8a90168fb2dad898735496d1d70
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_COMMON_CONTENT_SETTINGS_HELPER_H_
6 #define CHROME_COMMON_CONTENT_SETTINGS_HELPER_H_
8 #include <string>
10 #include "base/strings/string16.h"
12 class GURL;
14 namespace content_settings_helper {
16 // Return simplified string representing origin. If origin is using http or
17 // the standard port, those parts are not included in the output.
18 std::string OriginToString(const GURL& origin);
19 base::string16 OriginToString16(const GURL& origin);
21 } // namespace content_settings_helper
23 #endif // CHROME_COMMON_CONTENT_SETTINGS_HELPER_H_