Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Side by Side Diff: chrome/browser/content_settings/host.h

Issue 6253012: Add ContentSettingsProvider Interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698