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

Side by Side Diff: webkit/appcache/appcache_interfaces.cc

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « webkit/appcache/appcache_interfaces.h ('k') | webkit/appcache/appcache_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "webkit/appcache/appcache_interfaces.h" 5 #include "webkit/appcache/appcache_interfaces.h"
6 6
7 #include "googleurl/src/gurl.h" 7 #include "googleurl/src/gurl.h"
8 #include "net/url_request/url_request.h" 8 #include "net/url_request/url_request.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebApplicationCacheHo st.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebApplicationCacheHo st.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h"
11 11
12 using WebKit::WebApplicationCacheHost; 12 using WebKit::WebApplicationCacheHost;
13 using WebKit::WebConsoleMessage; 13 using WebKit::WebConsoleMessage;
14 14
15 namespace appcache { 15 namespace appcache {
16 16
17 const char kHttpScheme[] = "http"; 17 const char kHttpScheme[] = "http";
18 const char kHttpsScheme[] = "https"; 18 const char kHttpsScheme[] = "https";
19 const char kHttpGETMethod[] = "GET"; 19 const char kHttpGETMethod[] = "GET";
20 const char kHttpHEADMethod[] = "HEAD"; 20 const char kHttpHEADMethod[] = "HEAD";
21 21
22 const FilePath::CharType kAppCacheDatabaseName[] = FILE_PATH_LITERAL("Index"); 22 const base::FilePath::CharType kAppCacheDatabaseName[] =
23 FILE_PATH_LITERAL("Index");
23 24
24 AppCacheInfo::AppCacheInfo() 25 AppCacheInfo::AppCacheInfo()
25 : cache_id(kNoCacheId), 26 : cache_id(kNoCacheId),
26 group_id(0), 27 group_id(0),
27 status(UNCACHED), 28 status(UNCACHED),
28 size(0), 29 size(0),
29 is_complete(false) { 30 is_complete(false) {
30 } 31 }
31 32
32 AppCacheInfo::~AppCacheInfo() { 33 AppCacheInfo::~AppCacheInfo() {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 COMPILE_ASSERT((int)WebConsoleMessage::LevelTip == 116 COMPILE_ASSERT((int)WebConsoleMessage::LevelTip ==
116 (int)LOG_TIP, LevelTip); 117 (int)LOG_TIP, LevelTip);
117 COMPILE_ASSERT((int)WebConsoleMessage::LevelLog == 118 COMPILE_ASSERT((int)WebConsoleMessage::LevelLog ==
118 (int)LOG_INFO, LevelLog); 119 (int)LOG_INFO, LevelLog);
119 COMPILE_ASSERT((int)WebConsoleMessage::LevelWarning == 120 COMPILE_ASSERT((int)WebConsoleMessage::LevelWarning ==
120 (int)LOG_WARNING, LevelWarning); 121 (int)LOG_WARNING, LevelWarning);
121 COMPILE_ASSERT((int)WebConsoleMessage::LevelError == 122 COMPILE_ASSERT((int)WebConsoleMessage::LevelError ==
122 (int)LOG_ERROR, LevelError); 123 (int)LOG_ERROR, LevelError);
123 124
124 } // namespace appcache 125 } // namespace appcache
OLDNEW
« no previous file with comments | « webkit/appcache/appcache_interfaces.h ('k') | webkit/appcache/appcache_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698