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

Unified Diff: chrome/browser/sync/glue/autofill_profile_data_type_controller.h

Issue 6272025: Part 2 of repairing regressions to my old clang check plugins so Nico can (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright 2011 Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/glue/autofill_profile_data_type_controller.h
diff --git a/chrome/browser/sync/glue/autofill_profile_data_type_controller.h b/chrome/browser/sync/glue/autofill_profile_data_type_controller.h
index 8bb6e8e69b14b49eb99cd4c4c90fbf7b108bb575..83cafc39d58d2fdb930bad1963937c233d9b23e2 100644
--- a/chrome/browser/sync/glue/autofill_profile_data_type_controller.h
+++ b/chrome/browser/sync/glue/autofill_profile_data_type_controller.h
@@ -1,6 +1,7 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
+
#ifndef CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_DATA_TYPE_CONTROLLER_H_
#define CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_DATA_TYPE_CONTROLLER_H_
#pragma once
@@ -16,16 +17,12 @@ class AutofillProfileDataTypeController : public AutofillDataTypeController {
ProfileSyncFactory* profile_sync_factory,
Profile* profile,
ProfileSyncService* sync_service);
- virtual ~AutofillProfileDataTypeController() {}
+ virtual ~AutofillProfileDataTypeController();
+
+ virtual syncable::ModelType type();
- virtual syncable::ModelType type() {
- return syncable::AUTOFILL_PROFILE;
- }
+ virtual const char* name() const;
- virtual const char* name() const {
- // For logging only.
- return "autofill_profile";
- }
protected:
virtual ProfileSyncFactory::SyncComponents CreateSyncComponents(
ProfileSyncService* profile_sync_service,

Powered by Google App Engine
This is Rietveld 408576698