Index: components/content_settings/core/browser/stub_content_settings_client.cc |
diff --git a/components/content_settings/core/browser/stub_content_settings_client.cc b/components/content_settings/core/browser/stub_content_settings_client.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2fcec28cd5ba2d1491521812f63d3cb9c8ef6f97 |
--- /dev/null |
+++ b/components/content_settings/core/browser/stub_content_settings_client.cc |
@@ -0,0 +1,57 @@ |
+// Copyright (c) 2014 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. |
+ |
+#include "components/content_settings/core/browser/stub_content_settings_client.h" |
+ |
+namespace content_settings { |
+ |
+StubContentSettingsClient::StubContentSettingsClient() { |
+} |
+ |
+StubContentSettingsClient::~StubContentSettingsClient() { |
+} |
+ |
+void StubContentSettingsClient::OnCookiesRead( |
+ const GURL& url, |
+ const GURL& first_party_url, |
+ const net::CookieList& cookie_list, |
+ bool blocked_by_policy) { |
+} |
+ |
+void StubContentSettingsClient::OnCookieChanged( |
+ const GURL& url, |
+ const GURL& first_party_url, |
+ const std::string& cookie_line, |
+ const net::CookieOptions& options, |
+ bool blocked_by_policy) { |
+} |
+ |
+void StubContentSettingsClient::OnFileSystemAccessed(const GURL& url, |
+ bool blocked_by_policy) { |
+} |
+ |
+void StubContentSettingsClient::OnIndexedDBAccessed( |
+ const GURL& url, |
+ const base::string16& description, |
+ bool blocked_by_policy) { |
+} |
+ |
+void StubContentSettingsClient::OnLocalStorageAccessed(const GURL& url, |
+ bool local, |
+ bool blocked_by_policy) { |
+} |
+ |
+void StubContentSettingsClient::OnWebDatabaseAccessed( |
+ const GURL& url, |
+ const base::string16& name, |
+ const base::string16& display_name, |
+ bool blocked_by_policy) { |
+} |
+ |
+const LocalSharedObjectsCounter& |
+StubContentSettingsClient::local_shared_objects(AccessType type) const { |
+ return counter_; |
+} |
+ |
+} // namespace content_settings |