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

Side by Side Diff: chrome/app/chrome_main_delegate.cc

Issue 62983004: -Wunused-functions for linux, android, chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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 | « build/common.gypi ('k') | chrome/browser/apps/app_browsertest.cc » ('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 "chrome/app/chrome_main_delegate.h" 5 #include "chrome/app/chrome_main_delegate.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/environment.h" 8 #include "base/environment.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 raise(signal); 298 raise(signal);
299 } 299 }
300 300
301 void SetUpProfilingShutdownHandler() { 301 void SetUpProfilingShutdownHandler() {
302 struct sigaction sigact; 302 struct sigaction sigact;
303 sigact.sa_handler = SIGTERMProfilingShutdown; 303 sigact.sa_handler = SIGTERMProfilingShutdown;
304 sigact.sa_flags = SA_RESETHAND; 304 sigact.sa_flags = SA_RESETHAND;
305 sigemptyset(&sigact.sa_mask); 305 sigemptyset(&sigact.sa_mask);
306 CHECK(sigaction(SIGTERM, &sigact, NULL) == 0); 306 CHECK(sigaction(SIGTERM, &sigact, NULL) == 0);
307 } 307 }
308 #endif 308 #endif // !defined(OS_MACOSX) && !defined(OS_ANDROID)
309 309
310 #endif // OS_POSIX 310 #endif // OS_POSIX
311 311
312 struct MainFunction { 312 struct MainFunction {
313 const char* name; 313 const char* name;
314 int (*function)(const content::MainFunctionParams&); 314 int (*function)(const content::MainFunctionParams&);
315 }; 315 };
316 316
317 } // namespace 317 } // namespace
318 318
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 } 851 }
852 852
853 content::ContentUtilityClient* 853 content::ContentUtilityClient*
854 ChromeMainDelegate::CreateContentUtilityClient() { 854 ChromeMainDelegate::CreateContentUtilityClient() {
855 #if defined(CHROME_MULTIPLE_DLL_BROWSER) 855 #if defined(CHROME_MULTIPLE_DLL_BROWSER)
856 return NULL; 856 return NULL;
857 #else 857 #else
858 return &g_chrome_content_utility_client.Get(); 858 return &g_chrome_content_utility_client.Get();
859 #endif 859 #endif
860 } 860 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | chrome/browser/apps/app_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698