| OLD | NEW |
| 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 // This file defines dummy implementation of several functions from the | 5 // This file defines dummy implementation of several functions from the |
| 6 // master_preferences namespace for Google Chrome. These functions allow 64-bit | 6 // master_preferences namespace for Google Chrome. These functions allow 64-bit |
| 7 // Windows Chrome binary to build successfully. Since this binary is only used | 7 // Windows Chrome binary to build successfully. Since this binary is only used |
| 8 // for Native Client support which uses the 32 bit installer, most of the | 8 // for Native Client support which uses the 32 bit installer, most of the |
| 9 // master preferences functionality is not actually needed. | 9 // master preferences functionality is not actually needed. |
| 10 | 10 |
| 11 #include "chrome/installer/util/master_preferences.h" | 11 #include "chrome/installer/util/master_preferences.h" |
| 12 | 12 |
| 13 #include <windows.h> | 13 #include <windows.h> |
| 14 | 14 |
| 15 #include "base/logging.h" | 15 #include "base/logging.h" |
| 16 #include "base/values.h" | 16 #include "base/values.h" |
| 17 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
| 18 | 18 |
| 19 namespace installer { | 19 namespace installer { |
| 20 | 20 |
| 21 MasterPreferences::MasterPreferences(const CommandLine& cmd_line) | 21 MasterPreferences::MasterPreferences(const CommandLine& cmd_line) |
| 22 : distribution_(NULL), preferences_read_from_file_(false) { | 22 : distribution_(NULL), preferences_read_from_file_(false) { |
| 23 } | 23 } |
| 24 | 24 |
| 25 MasterPreferences::MasterPreferences(const FilePath& prefs_path) | 25 MasterPreferences::MasterPreferences(const base::FilePath& prefs_path) |
| 26 : distribution_(NULL), preferences_read_from_file_(false) { | 26 : distribution_(NULL), preferences_read_from_file_(false) { |
| 27 } | 27 } |
| 28 | 28 |
| 29 MasterPreferences::~MasterPreferences() { | 29 MasterPreferences::~MasterPreferences() { |
| 30 } | 30 } |
| 31 | 31 |
| 32 bool MasterPreferences::GetBool(const std::string& name, bool* value) const { | 32 bool MasterPreferences::GetBool(const std::string& name, bool* value) const { |
| 33 NOTREACHED(); | 33 NOTREACHED(); |
| 34 return false; | 34 return false; |
| 35 } | 35 } |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 NOTREACHED(); | 69 NOTREACHED(); |
| 70 } | 70 } |
| 71 | 71 |
| 72 namespace url_parse { | 72 namespace url_parse { |
| 73 | 73 |
| 74 Parsed::~Parsed() { | 74 Parsed::~Parsed() { |
| 75 NOTREACHED(); | 75 NOTREACHED(); |
| 76 } | 76 } |
| 77 | 77 |
| 78 } | 78 } |
| OLD | NEW |