| Index: chrome/browser/content_settings/host.h
|
| diff --git a/chrome/browser/content_settings/host.h b/chrome/browser/content_settings/host.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..446887836e64dcf4e1484f63cfa465457b11b1a2
|
| --- /dev/null
|
| +++ b/chrome/browser/content_settings/host.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright (c) 2011 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_BROWSER_CONTENT_SETTINGS_HOST_H_
|
| +#define CHROME_BROWSER_CONTENT_SETTINGS_HOST_H_
|
| +#pragma once
|
| +
|
| +#include "googleurl/src/gurl.h"
|
| +
|
| +namespace content_settings {
|
| +
|
| +class Host {
|
| + public:
|
| + Host(const GURL& requesting_url, const GURL& embedding_url);
|
| +
|
| + const GURL& requesting_url() const {
|
| + return requesting_url_;
|
| + }
|
| +
|
| + const GURL& embedding_url() const {
|
| + return embedding_url_;
|
| + }
|
| +
|
| + private:
|
| + const GURL requesting_url_;
|
| + const GURL embedding_url_;
|
| +};
|
| +
|
| +} // namespace content_settings
|
| +
|
| +#endif // CHROME_BROWSER_CONTENT_SETTINGS_HOST_H_
|
|
|