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

Side by Side Diff: components/content_settings/core/common/embedder_variables.h

Issue 440423003: Clean content_settings_pattern_parser.* from unnecessary dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: @vabr's comments addressed Created 6 years, 4 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) 2014 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 COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_EMBEDDER_VARIABLES_H_
6 #define COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_EMBEDDER_VARIABLES_H_
7
8 #include <string>
9
10 #include "base/macros.h"
11
12 namespace content_settings {
13
14 // Sets the scheme that doesn't support domain wildcard and port.
15 // Needs to be called by the embedder before using ContentSettingsPattern.
16 // |scheme| can't be NULL. The caller is responsible for its lifetime.
vabr (Chromium) 2014/08/21 15:31:41 nit: Please join the last two sentences into: "|sc
vasilii 2014/08/22 13:02:45 Done.
17 void SetNonWildcardDomainNonPortScheme(const char* scheme);
18
19 // Compares |scheme| against the scheme set by the embedder.
20 bool IsNonWildcardDomainNonPortScheme(const std::string& scheme);
21
22 } // namespace content_settings
23 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_EMBEDDER_VARIABLES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698