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

Side by Side Diff: apps/app_window_registry.cc

Issue 247143004: cleanup: Cpplint for apps/, extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CHECK_GT -> CHECK Created 6 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
« no previous file with comments | « apps/app_window_registry.h ('k') | apps/browser_context_keyed_service_factories.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "apps/app_window.h" 5 #include "apps/app_window.h"
6 #include "apps/app_window_registry.h" 6 #include "apps/app_window_registry.h"
7 #include "apps/apps_client.h" 7 #include "apps/apps_client.h"
8 #include "apps/ui/native_app_window.h" 8 #include "apps/ui/native_app_window.h"
9 #include "components/keyed_service/content/browser_context_dependency_manager.h" 9 #include "components/keyed_service/content/browser_context_dependency_manager.h"
10 #include "content/public/browser/browser_context.h" 10 #include "content/public/browser/browser_context.h"
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 bool AppWindowRegistry::Factory::ServiceIsNULLWhileTesting() const { 297 bool AppWindowRegistry::Factory::ServiceIsNULLWhileTesting() const {
298 return false; 298 return false;
299 } 299 }
300 300
301 content::BrowserContext* AppWindowRegistry::Factory::GetBrowserContextToUse( 301 content::BrowserContext* AppWindowRegistry::Factory::GetBrowserContextToUse(
302 content::BrowserContext* context) const { 302 content::BrowserContext* context) const {
303 return extensions::ExtensionsBrowserClient::Get()->GetOriginalContext( 303 return extensions::ExtensionsBrowserClient::Get()->GetOriginalContext(
304 context); 304 context);
305 } 305 }
306 306
307 } // namespace extensions 307 } // namespace apps
OLDNEW
« no previous file with comments | « apps/app_window_registry.h ('k') | apps/browser_context_keyed_service_factories.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698