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

Side by Side Diff: content/public/common/content_constants.h

Issue 10391173: Pepper Flash settings integration: implement "deauthorize content licenses". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 7 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
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 // A handful of resource-like constants related to the Content application. 5 // A handful of resource-like constants related to the Content application.
6 6
7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ 7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_
8 #define CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ 8 #define CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_
9 #pragma once 9 #pragma once
10 10
11 #include <stddef.h> // For size_t 11 #include <stddef.h> // For size_t
12 12
13 #include "base/file_path.h" 13 #include "base/file_path.h"
14 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
15 15
16 namespace content { 16 namespace content {
17 17
18 // The name of the directory under BrowserContext::GetPath where the AppCache is 18 // The name of the directory under BrowserContext::GetPath where the AppCache is
19 // put. 19 // put.
20 CONTENT_EXPORT extern const FilePath::CharType kAppCacheDirname[]; 20 CONTENT_EXPORT extern const FilePath::CharType kAppCacheDirname[];
21 // The name of the directory under BrowserContext::GetPath where Pepper plugin
22 // data is put.
23 CONTENT_EXPORT extern const FilePath::CharType kPepperDataDirname[];
21 24
22 CONTENT_EXPORT extern const size_t kMaxRendererProcessCount; 25 CONTENT_EXPORT extern const size_t kMaxRendererProcessCount;
23 26
24 // The maximum number of session history entries per tab. 27 // The maximum number of session history entries per tab.
25 extern const int kMaxSessionHistoryEntries; 28 extern const int kMaxSessionHistoryEntries;
26 29
27 // The maximum number of characters of the document's title that we're willing 30 // The maximum number of characters of the document's title that we're willing
28 // to accept in the browser process. 31 // to accept in the browser process.
29 extern const size_t kMaxTitleChars; 32 extern const size_t kMaxTitleChars;
30 33
31 // The maximum number of characters in the URL that we're willing to accept 34 // The maximum number of characters in the URL that we're willing to accept
32 // in the browser process. It is set low enough to avoid damage to the browser 35 // in the browser process. It is set low enough to avoid damage to the browser
33 // but high enough that a web site can abuse location.hash for a little storage. 36 // but high enough that a web site can abuse location.hash for a little storage.
34 // We have different values for "max accepted" and "max displayed" because 37 // We have different values for "max accepted" and "max displayed" because
35 // a data: URI may be legitimately massive, but the full URI would kill all 38 // a data: URI may be legitimately massive, but the full URI would kill all
36 // known operating systems if you dropped it into a UI control. 39 // known operating systems if you dropped it into a UI control.
37 CONTENT_EXPORT extern const size_t kMaxURLChars; 40 CONTENT_EXPORT extern const size_t kMaxURLChars;
38 CONTENT_EXPORT extern const size_t kMaxURLDisplayChars; 41 CONTENT_EXPORT extern const size_t kMaxURLDisplayChars;
39 42
40 extern const char kStatsFilename[]; 43 extern const char kStatsFilename[];
41 extern const int kStatsMaxThreads; 44 extern const int kStatsMaxThreads;
42 extern const int kStatsMaxCounters; 45 extern const int kStatsMaxCounters;
43 46
44 } // namespace content 47 } // namespace content
45 48
46 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ 49 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_
OLDNEW
« no previous file with comments | « content/public/browser/pepper_flash_settings_helper.h ('k') | content/public/common/content_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698