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

Unified Diff: chrome/browser/options_page_base.cc

Issue 5582002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/options_page_base.h ('k') | chrome/browser/options_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/options_page_base.cc
===================================================================
--- chrome/browser/options_page_base.cc (revision 68008)
+++ chrome/browser/options_page_base.cc (working copy)
@@ -1,36 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/options_page_base.h"
-
-#include "chrome/browser/metrics/user_metrics.h"
-#include "chrome/browser/prefs/pref_service.h"
-#include "chrome/common/notification_service.h"
-
-///////////////////////////////////////////////////////////////////////////////
-// OptionsPageBase
-
-OptionsPageBase::OptionsPageBase(Profile* profile)
- : profile_(profile) {
-}
-
-OptionsPageBase::~OptionsPageBase() {
-}
-
-void OptionsPageBase::UserMetricsRecordAction(const UserMetricsAction& action,
- PrefService* prefs) {
- UserMetrics::RecordAction(action, profile());
- if (prefs)
- prefs->ScheduleSavePersistentPrefs();
-}
-
-///////////////////////////////////////////////////////////////////////////////
-// OptionsPageBase, NotificationObserver implementation:
-
-void OptionsPageBase::Observe(NotificationType type,
- const NotificationSource& source,
- const NotificationDetails& details) {
- if (type == NotificationType::PREF_CHANGED)
- NotifyPrefChanged(Details<std::string>(details).ptr());
-}
« no previous file with comments | « chrome/browser/options_page_base.h ('k') | chrome/browser/options_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698