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

Side by Side Diff: chrome/browser/extensions/api/declarative_webrequest/webrequest_helpers.h

Issue 10012004: Implemented proper support for checking schemes and requested resource types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed 'scheme' to 'schemes' Created 8 years, 8 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) 2012 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 // Helper functions used for the WebRequest API.
6
7 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_HELPERS_ H_
8 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_HELPERS_ H_
9 #pragma once
10
11 #include <string>
12 #include <vector>
13
14 namespace base {
15 class Value;
16 }
17
18 namespace extensions {
19 namespace declarative_webrequest_helpers {
20
21 // Converts a ValueList |value| of strings into a vector. Returns true if
22 // successful.
23 bool GetAsStringVector(const base::Value* value, std::vector<std::string>* out);
24
25 } // namespace declarative_webrequest_helpers
26 } // namespace extensions
27
28 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_HELPE RS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698