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

Side by Side Diff: chrome/browser/chrome_browser_main.cc

Issue 136113019: Cleanup: Remove some unused code, or make them platform specific. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix build Created 6 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 | « chrome/browser/chrome_browser_main.h ('k') | chrome/browser/chrome_content_browser_client.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/browser/chrome_browser_main.h" 5 #include "chrome/browser/chrome_browser_main.h"
6 6
7 #if defined(TOOLKIT_GTK) 7 #if defined(TOOLKIT_GTK)
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #endif 9 #endif
10 10
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 } 506 }
507 507
508 private: 508 private:
509 content::NotificationRegistrar registrar_; 509 content::NotificationRegistrar registrar_;
510 DISALLOW_COPY_AND_ASSIGN(LoadCompleteListener); 510 DISALLOW_COPY_AND_ASSIGN(LoadCompleteListener);
511 }; 511 };
512 512
513 } // namespace 513 } // namespace
514 514
515 namespace chrome_browser { 515 namespace chrome_browser {
516
516 // This error message is not localized because we failed to load the 517 // This error message is not localized because we failed to load the
517 // localization data files. 518 // localization data files.
519 #if defined(OS_WIN)
518 const char kMissingLocaleDataTitle[] = "Missing File Error"; 520 const char kMissingLocaleDataTitle[] = "Missing File Error";
521 #endif
522
523 #if defined(OS_WIN) || defined(TOOLKIT_GTK)
524 // TODO(port) This should be used on Linux Aura as well. http://crbug.com/338969
519 const char kMissingLocaleDataMessage[] = 525 const char kMissingLocaleDataMessage[] =
520 "Unable to find locale data files. Please reinstall."; 526 "Unable to find locale data files. Please reinstall.";
527 #endif
528
521 } // namespace chrome_browser 529 } // namespace chrome_browser
522 530
523 // BrowserMainParts ------------------------------------------------------------ 531 // BrowserMainParts ------------------------------------------------------------
524 532
525 // static 533 // static
526 bool ChromeBrowserMainParts::disable_enforcing_cookie_policies_for_tests_ = 534 bool ChromeBrowserMainParts::disable_enforcing_cookie_policies_for_tests_ =
527 false; 535 false;
528 536
529 ChromeBrowserMainParts::ChromeBrowserMainParts( 537 ChromeBrowserMainParts::ChromeBrowserMainParts(
530 const content::MainFunctionParams& parameters) 538 const content::MainFunctionParams& parameters)
(...skipping 1151 matching lines...) Expand 10 before | Expand all | Expand 10 after
1682 chromeos::CrosSettings::Shutdown(); 1690 chromeos::CrosSettings::Shutdown();
1683 #endif 1691 #endif
1684 #endif 1692 #endif
1685 } 1693 }
1686 1694
1687 // Public members: 1695 // Public members:
1688 1696
1689 void ChromeBrowserMainParts::AddParts(ChromeBrowserMainExtraParts* parts) { 1697 void ChromeBrowserMainParts::AddParts(ChromeBrowserMainExtraParts* parts) {
1690 chrome_extra_parts_.push_back(parts); 1698 chrome_extra_parts_.push_back(parts);
1691 } 1699 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.h ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698