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

Side by Side Diff: third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Only get prefix and no capitalization. Created 3 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 void ApplicationCacheHost::abort() { 298 void ApplicationCacheHost::abort() {
299 if (m_host) 299 if (m_host)
300 m_host->abort(); 300 m_host->abort();
301 } 301 }
302 302
303 bool ApplicationCacheHost::isApplicationCacheEnabled() { 303 bool ApplicationCacheHost::isApplicationCacheEnabled() {
304 DCHECK(m_documentLoader->frame()); 304 DCHECK(m_documentLoader->frame());
305 return m_documentLoader->frame()->settings() && 305 return m_documentLoader->frame()->settings() &&
306 m_documentLoader->frame() 306 m_documentLoader->frame()
307 ->settings() 307 ->settings()
308 ->offlineWebApplicationCacheEnabled(); 308 ->getOfflineWebApplicationCacheEnabled();
309 } 309 }
310 310
311 void ApplicationCacheHost::didChangeCacheAssociation() { 311 void ApplicationCacheHost::didChangeCacheAssociation() {
312 // FIXME: Prod the inspector to update its notion of what cache the page is 312 // FIXME: Prod the inspector to update its notion of what cache the page is
313 // using. 313 // using.
314 } 314 }
315 315
316 void ApplicationCacheHost::notifyEventListener( 316 void ApplicationCacheHost::notifyEventListener(
317 WebApplicationCacheHost::EventID eventID) { 317 WebApplicationCacheHost::EventID eventID) {
318 notifyApplicationCache(static_cast<ApplicationCacheHost::EventID>(eventID), 0, 318 notifyApplicationCache(static_cast<ApplicationCacheHost::EventID>(eventID), 0,
(...skipping 17 matching lines...) Expand all
336 notifyApplicationCache(kErrorEvent, 0, 0, reason, url.string(), status, 336 notifyApplicationCache(kErrorEvent, 0, 0, reason, url.string(), status,
337 message); 337 message);
338 } 338 }
339 339
340 DEFINE_TRACE(ApplicationCacheHost) { 340 DEFINE_TRACE(ApplicationCacheHost) {
341 visitor->trace(m_domApplicationCache); 341 visitor->trace(m_domApplicationCache);
342 visitor->trace(m_documentLoader); 342 visitor->trace(m_documentLoader);
343 } 343 }
344 344
345 } // namespace blink 345 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698