OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_SETTINGS_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_SETTINGS_H_ |
6 #define CONTENT_BROWSER_ANDROID_CONTENT_SETTINGS_H_ | 6 #define CONTENT_BROWSER_ANDROID_CONTENT_SETTINGS_H_ |
7 #pragma once | |
8 | 7 |
9 #include <jni.h> | 8 #include <jni.h> |
10 | 9 |
11 #include "base/android/scoped_java_ref.h" | 10 #include "base/android/scoped_java_ref.h" |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "content/public/browser/web_contents_observer.h" | 12 #include "content/public/browser/web_contents_observer.h" |
14 | 13 |
15 namespace content { | 14 namespace content { |
16 | 15 |
17 class ContentSettings : public WebContentsObserver { | 16 class ContentSettings : public WebContentsObserver { |
(...skipping 28 matching lines...) Expand all Loading... |
46 // Java field references for accessing the values in the Java object. | 45 // Java field references for accessing the values in the Java object. |
47 scoped_ptr<FieldIds> field_ids_; | 46 scoped_ptr<FieldIds> field_ids_; |
48 | 47 |
49 // The Java counterpart to this class. | 48 // The Java counterpart to this class. |
50 base::android::ScopedJavaGlobalRef<jobject> content_settings_; | 49 base::android::ScopedJavaGlobalRef<jobject> content_settings_; |
51 }; | 50 }; |
52 | 51 |
53 } // namespace content | 52 } // namespace content |
54 | 53 |
55 #endif // CONTENT_BROWSER_ANDROID_CONTENT_SETTINGS_H_ | 54 #endif // CONTENT_BROWSER_ANDROID_CONTENT_SETTINGS_H_ |
OLD | NEW |