| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2011 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. |
| 4 |
| 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_HOST_H_ |
| 6 #define CHROME_BROWSER_CONTENT_SETTINGS_HOST_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "googleurl/src/gurl.h" |
| 10 |
| 11 namespace content_settings { |
| 12 |
| 13 class Host { |
| 14 public: |
| 15 Host(const GURL& requesting_url, const GURL& embedding_url); |
| 16 |
| 17 const GURL& requesting_url() const { |
| 18 return requesting_url_; |
| 19 } |
| 20 |
| 21 const GURL& embedding_url() const { |
| 22 return embedding_url_; |
| 23 } |
| 24 |
| 25 private: |
| 26 const GURL requesting_url_; |
| 27 const GURL embedding_url_; |
| 28 }; |
| 29 |
| 30 } // namespace content_settings |
| 31 |
| 32 #endif // CHROME_BROWSER_CONTENT_SETTINGS_HOST_H_ |
| OLD | NEW |