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

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

Issue 10913265: Redo the Storage Partition directory layout to support guest tags and origin based partitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make world consistent. Created 8 years, 3 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 9
10 #include <stddef.h> // For size_t 10 #include <stddef.h> // For size_t
11 11
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 // The name of the directory under BrowserContext::GetPath where the AppCache is 17 // The name of the directory under BrowserContext::GetPath where the AppCache is
18 // put. 18 // put.
19 CONTENT_EXPORT extern const FilePath::CharType kAppCacheDirname[]; 19 CONTENT_EXPORT extern const FilePath::CharType kAppCacheDirname[];
20 // The name of the directory under BrowserContext::GetPath where Pepper plugin 20 // The name of the directory under BrowserContext::GetPath where Pepper plugin
21 // data is put. 21 // data is put.
22 CONTENT_EXPORT extern const FilePath::CharType kPepperDataDirname[]; 22 CONTENT_EXPORT extern const FilePath::CharType kPepperDataDirname[];
23 // The name of the directory under BrowserContext::GetPath() where renderers
24 // with a non-default storage partition keep their persistent state. This will
25 // contain a set of directories that partially mirror the directory structure
26 // of BrowserContext::GetPath().
27 CONTENT_EXPORT extern const FilePath::CharType kStoragePartitionDirname[];
28 23
29 // The MIME type used for the browser plugin. 24 // The MIME type used for the browser plugin.
30 CONTENT_EXPORT extern const char kBrowserPluginMimeType[]; 25 CONTENT_EXPORT extern const char kBrowserPluginMimeType[];
31 // TODO(fsamuel): Remove this once upstreaming of the new browser plugin is 26 // TODO(fsamuel): Remove this once upstreaming of the new browser plugin is
32 // complete. 27 // complete.
33 CONTENT_EXPORT extern const char kBrowserPluginNewMimeType[]; 28 CONTENT_EXPORT extern const char kBrowserPluginNewMimeType[];
34 29
35 CONTENT_EXPORT extern const size_t kMaxRendererProcessCount; 30 CONTENT_EXPORT extern const size_t kMaxRendererProcessCount;
36 31
37 // The maximum number of session history entries per tab. 32 // The maximum number of session history entries per tab.
(...skipping 24 matching lines...) Expand all
62 CONTENT_EXPORT extern const int kHistogramSynchronizerReservedSequenceNumber; 57 CONTENT_EXPORT extern const int kHistogramSynchronizerReservedSequenceNumber;
63 58
64 CONTENT_EXPORT extern const char kGpuCompositingFieldTrialName[]; 59 CONTENT_EXPORT extern const char kGpuCompositingFieldTrialName[];
65 CONTENT_EXPORT extern const char 60 CONTENT_EXPORT extern const char
66 kGpuCompositingFieldTrialForceCompositingEnabledName[]; 61 kGpuCompositingFieldTrialForceCompositingEnabledName[];
67 CONTENT_EXPORT extern const char kGpuCompositingFieldTrialThreadEnabledName[]; 62 CONTENT_EXPORT extern const char kGpuCompositingFieldTrialThreadEnabledName[];
68 63
69 } // namespace content 64 } // namespace content
70 65
71 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ 66 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698