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

Side by Side Diff: chrome/browser/extensions/api/content_settings/content_settings_custom_extension_provider.cc

Issue 748723002: Move content_settings_custom_extension_provider.* to c/b/extensions/api/content_settings/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
OLDNEW
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 #include "chrome/browser/content_settings/content_settings_custom_extension_prov ider.h" 5 #include "chrome/browser/extensions/api/content_settings/content_settings_custom _extension_provider.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "chrome/browser/extensions/api/content_settings/content_settings_store. h" 8 #include "chrome/browser/extensions/api/content_settings/content_settings_store. h"
9 #include "components/content_settings/core/browser/content_settings_utils.h" 9 #include "components/content_settings/core/browser/content_settings_utils.h"
10 #include "components/content_settings/core/common/content_settings_pattern.h" 10 #include "components/content_settings/core/common/content_settings_pattern.h"
11 11
12 namespace content_settings { 12 namespace content_settings {
13 13
14 CustomExtensionProvider::CustomExtensionProvider( 14 CustomExtensionProvider::CustomExtensionProvider(
15 const scoped_refptr<extensions::ContentSettingsStore>& extensions_settings, 15 const scoped_refptr<extensions::ContentSettingsStore>& extensions_settings,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 if (incognito_ != incognito) 50 if (incognito_ != incognito)
51 return; 51 return;
52 // TODO(markusheintz): Be more concise. 52 // TODO(markusheintz): Be more concise.
53 NotifyObservers(ContentSettingsPattern(), 53 NotifyObservers(ContentSettingsPattern(),
54 ContentSettingsPattern(), 54 ContentSettingsPattern(),
55 CONTENT_SETTINGS_TYPE_DEFAULT, 55 CONTENT_SETTINGS_TYPE_DEFAULT,
56 std::string()); 56 std::string());
57 } 57 }
58 58
59 } // namespace content_settings 59 } // namespace content_settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698